Merge branch 'includes_cache_thirdparty' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_thirdparty

This commit is contained in:
Wojtek Figat
2023-02-18 17:16:05 +01:00

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