Set minimum deployment target to 10.0

This commit is contained in:
Armin Novak 2018-12-03 16:54:56 +01:00
parent 47066c25ed
commit 4c3626340c
2 changed files with 2 additions and 2 deletions

View File

@ -1051,7 +1051,7 @@ add_subdirectory(include)
add_subdirectory(libfreerdp) add_subdirectory(libfreerdp)
if (IOS) if (IOS)
set(CMAKE_OSX_DEPLOYMENT_TARGET "") set(CMAKE_OSX_DEPLOYMENT_TARGET "10.0")
if (IOS_PLATFORM MATCHES "SIMULATOR") if (IOS_PLATFORM MATCHES "SIMULATOR")
set(CMAKE_OSX_SYSROOT "iphonesimulator") set(CMAKE_OSX_SYSROOT "iphonesimulator")
else() else()

View File

@ -37,7 +37,7 @@ set (APPLE True)
set (IOS True) set (IOS True)
# Required as of cmake 2.8.10 # Required as of cmake 2.8.10
set (CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING "Force unset of the deployment target for iOS" FORCE) #set (CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING "Force unset of the deployment target for iOS" FORCE)
# Determine the cmake host system version so we know where to find the iOS SDKs # Determine the cmake host system version so we know where to find the iOS SDKs
find_program (CMAKE_UNAME uname /bin /usr/bin /usr/local/bin) find_program (CMAKE_UNAME uname /bin /usr/bin /usr/local/bin)