1
0
Fork 0
forked from lthn/blockchain

iOS: deployment target set to 12.00, macOS: deployment target reverted back to 10.12

This commit is contained in:
sowle 2024-02-23 11:47:16 +01:00
parent 7397b68ec0
commit c8b52f6e96
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -66,7 +66,7 @@ find_package(OpenSSL REQUIRED)
if(APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET 12.00)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12)
endif()
set(USE_PCH FALSE CACHE BOOL "Use shared precompiled headers")
@ -217,6 +217,7 @@ endif()
message("CMAKE_SYSTEM_NAME: ${CMAKE_SYSTEM_NAME}")
if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
set(CMAKE_OSX_DEPLOYMENT_TARGET 12.00)
set(Boost_LIBRARIES "libboost.a")
#workaround for new XCode 12 policy for builds(now it includes a slice for the "arm64" when builds for simulator)
set(__iphoneos_archs "arm64")