Fix issue with finding the right libjpeg-turbo on mac

This commit is contained in:
Georg Hagen
2024-07-12 16:16:45 +02:00
parent fd0345302a
commit ad93a28e31
2 changed files with 5 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ elseif (USE_ASSIMP)
FetchContent_MakeAvailable(assimp)
set(assimp_BUILT "fetched assimp found" CACHE INTERNAL ON)
set(assimp_BUILT ON CACHE INTERNAL "fetched assimp found")
endif ()

View File

@@ -1,6 +1,8 @@
include(../../cmake/Utils.cmake)
Find_Package(libjpeg-turbo QUIET)
if (NOT IOS)
Find_Package(libjpeg-turbo QUIET)
endif()
if (libjpeg-turbo_FOUND)
message("Using system libjpeg-turbo")
else ()