create patch for cmake cache checks so that it can use CheckTypeSize from multiple contexts

This commit is contained in:
ohyzha
2024-10-31 14:44:59 +02:00
parent 5695fd77be
commit a99d1314c3
3 changed files with 33 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ if (NOT IOS)
endif ()
if (assimp_FOUND OR ASSIMP_FOUND)
message("Using system assimp")
elseif (ENABLE_ASSIMP)
elseif (ENABLE_ASSIMP AND NOT assimp_BUILT)
message("Building assimp from sources")
if(NOT DEFINED ASSIMP_REPO)
set(ASSIMP_REPO https://github.com/assimp/assimp.git)