ide: now also adding includes of current build method for libclang

This commit is contained in:
Mirek Fidler 2026-08-04 16:27:01 +02:00
parent aa213b8264
commit faebf887e1

View file

@ -976,7 +976,11 @@ String Ide::GetCurrentIncludePath()
if(IsExternalMode()) // just add everything..
MergeWith(include_path, ";", PackageDirectory(wspc[i]));
}
// add all include paths of real current build method (because there can be additional
// includes..)
MergeWith(include_path, ";", GetIncludePath());
return include_path;
}