diff --git a/CMakeLists.txt b/CMakeLists.txt index 0781c525b..1ce2c0c4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1051,7 +1051,7 @@ add_subdirectory(include) add_subdirectory(libfreerdp) if (IOS) - set(CMAKE_OSX_DEPLOYMENT_TARGET "") + set(CMAKE_OSX_DEPLOYMENT_TARGET "10.0") if (IOS_PLATFORM MATCHES "SIMULATOR") set(CMAKE_OSX_SYSROOT "iphonesimulator") else() diff --git a/cmake/iOSToolchain.cmake b/cmake/iOSToolchain.cmake index 293036a7e..1824ecbdf 100644 --- a/cmake/iOSToolchain.cmake +++ b/cmake/iOSToolchain.cmake @@ -37,7 +37,7 @@ set (APPLE True) set (IOS True) # 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 find_program (CMAKE_UNAME uname /bin /usr/bin /usr/local/bin)