summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2016-12-26 17:01:32 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-26 18:34:58 (GMT)
commitd525754eabef7a9f6e6696ae323a8ed965e12f2e (patch)
tree0f0e9876554349138907cd6fc9793e2f3e5a9b37 /Tests/RunCMake/CMakeLists.txt
parent45405f00d27031fb9641408c56673532a3ee3bde (diff)
downloadCMake-d525754eabef7a9f6e6696ae323a8ed965e12f2e.zip
CMake-d525754eabef7a9f6e6696ae323a8ed965e12f2e.tar.gz
CMake-d525754eabef7a9f6e6696ae323a8ed965e12f2e.tar.bz2
Xcode: Refactor RunCMake.Framework test to prepare for static frameworks
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index c2c744f..63016f1 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -276,8 +276,7 @@ if(XCODE_VERSION AND NOT "${XCODE_VERSION}" VERSION_LESS 3)
add_RunCMake_test(XcodeProject -DXCODE_VERSION=${XCODE_VERSION})
endif()
-if(NOT XCODE
- AND CMAKE_C_COMPILER_ID STREQUAL "AppleClang"
+if(CMAKE_C_COMPILER_ID STREQUAL "AppleClang"
AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 6.0)
add_RunCMake_test(Framework)
endif()