Darwin: Emit deployment target that matches the SDK

Closes: #17431
This commit is contained in:
Gregor Jasny
2017-11-04 15:27:48 +01:00
parent 8f4663ffb2
commit 4017bf40de
15 changed files with 185 additions and 15 deletions
@@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.3)
project(IOSInstallCombined CXX)
# due to lack of toolchain file it might point to running macOS version
unset(CMAKE_OSX_DEPLOYMENT_TARGET CACHE)
set(CMAKE_OSX_SYSROOT iphoneos)
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf")