summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-06 13:27:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-06 13:27:20 (GMT)
commit742339a779acd06a0808e9d0fb3315aa863f932a (patch)
tree84c5cb1a3dc71d824a2e6c5c9a31c2068d48ff94 /Tests
parent28186bd2bad418e7f9d813787812ba0ddf48ce09 (diff)
parente427c7c1d8077cad009f84eca9186efc584ac297 (diff)
downloadCMake-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 'Tests')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined.cmake b/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined.cmake
index 7f31d94..f6c00b1 100644
--- a/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined.cmake
+++ b/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined.cmake
@@ -6,6 +6,10 @@ if(XCODE_VERSION VERSION_GREATER_EQUAL 9)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10)
endif()
+if(NOT IOS)
+ message(FATAL_ERROR "IOS variable is not set")
+endif()
+
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf")
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO")