diff options
author | Brad King <brad.king@kitware.com> | 2019-03-06 13:27:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-03-06 13:27:20 (GMT) |
commit | 742339a779acd06a0808e9d0fb3315aa863f932a (patch) | |
tree | 84c5cb1a3dc71d824a2e6c5c9a31c2068d48ff94 /Modules | |
parent | 28186bd2bad418e7f9d813787812ba0ddf48ce09 (diff) | |
parent | e427c7c1d8077cad009f84eca9186efc584ac297 (diff) | |
download | CMake-742339a779acd06a0808e9d0fb3315aa863f932a.zip CMake-742339a779acd06a0808e9d0fb3315aa863f932a.tar.gz CMake-742339a779acd06a0808e9d0fb3315aa863f932a.tar.bz2 |
Merge topic 'ios-variable'
e427c7c1d8 iOS: Add IOS variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3051
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/iOS-Initialize.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/iOS-Initialize.cmake b/Modules/Platform/iOS-Initialize.cmake index 41399a3..301ca4c 100644 --- a/Modules/Platform/iOS-Initialize.cmake +++ b/Modules/Platform/iOS-Initialize.cmake @@ -4,4 +4,6 @@ if(NOT _CMAKE_OSX_SYSROOT_PATH MATCHES "/iPhone(OS|Simulator)") message(FATAL_ERROR "${CMAKE_OSX_SYSROOT} is not an iOS SDK") endif() +set(IOS 1) + set(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY) |