Attempted iOS fix round 2

This commit is contained in:
Ashley Rogers 2025-06-13 11:43:31 -04:00
parent 771990d4ae
commit b7e70f6541
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ set(PACKAGES_PRIVATE
)
# asmjit needed by blend2d on non-iOS platforms (iOS doesn't support JIT)
if(NOT IOS)
if(NOT IOS AND NOT VCPKG_CMAKE_SYSTEM_NAME MATCHES "iOS")
list(APPEND PACKAGES_PRIVATE asmjit)
endif()
@ -315,7 +315,7 @@ find_package(unofficial-sqlite3 CONFIG REQUIRED)
find_package(WebP CONFIG REQUIRED)
find_package(blend2d CONFIG REQUIRED)
# asmjit should not be included with iOS builds as iOS doesn't support JIT compilation.
if(NOT IOS)
if(NOT IOS AND NOT VCPKG_CMAKE_SYSTEM_NAME MATCHES "iOS")
find_package(asmjit CONFIG REQUIRED)
endif()