summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-08-20 20:29:49 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2015-08-25 19:53:51 (GMT)
commitd2c2319d6479d4319ef298f6178b00e953a9b179 (patch)
tree801b6d63d38e29b12898af28986911163ab84822 /Tests/RunCMake/XcodeProject
parentcdb9984bff78b8f76c3b8c3f622928e4f29920a1 (diff)
downloadCMake-d2c2319d6479d4319ef298f6178b00e953a9b179.zip
CMake-d2c2319d6479d4319ef298f6178b00e953a9b179.tar.gz
CMake-d2c2319d6479d4319ef298f6178b00e953a9b179.tar.bz2
Replace CMAKE_XCODE_EFFECTIVE_PLATFORMS with call to PlatformIsAppleIos
Currently the CMAKE_XCODE_EFFECTIVE_PLATFORMS property acts only as a kind of toggle switch to enable iOS project layout features. But instead of relying on this undocumented property, better detect the presence of an iOS SDK directly.
Diffstat (limited to 'Tests/RunCMake/XcodeProject')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeBundles.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeBundles.cmake b/Tests/RunCMake/XcodeProject/XcodeBundles.cmake
index d5cb51f..2cbccfa 100644
--- a/Tests/RunCMake/XcodeProject/XcodeBundles.cmake
+++ b/Tests/RunCMake/XcodeProject/XcodeBundles.cmake
@@ -6,7 +6,6 @@ enable_language(C)
if(TEST_IOS)
set(CMAKE_OSX_SYSROOT iphoneos)
set(CMAKE_OSX_ARCHITECTURES "armv7")
- set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimulator")
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO")
endif(TEST_IOS)