forked from lthn/blockchain
iOS: deployment target set to 12.00, macOS: deployment target reverted back to 10.12
This commit is contained in:
parent
7397b68ec0
commit
c8b52f6e96
1 changed files with 2 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue