Include thirdparty files in the includes cache

This commit is contained in:
2023-02-17 21:10:19 +02:00
parent aa1a0ea4a2
commit f77063f615

View File

@@ -342,6 +342,16 @@ namespace Flax.Build.NativeCpp
}
}
// Relative to ThirdParty includes for library includes
if (!isValid && isLibraryInclude)
{
includedFilePath = Path.Combine(Globals.Root, "Source", "ThirdParty", includedFile);
if (FileExists(includedFilePath))
{
isValid = true;
}
}
if (!isValid)
{
// Invalid include