Attempted iOS fix round 2
This commit is contained in:
parent
771990d4ae
commit
b7e70f6541
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue