diff options
author | Brad King <brad.king@kitware.com> | 2017-04-21 16:57:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-22 19:19:11 (GMT) |
commit | 7373b389ebf482fd16c70ff0e8b5abf403b4be07 (patch) | |
tree | 4dfa2b0d86969bf27ad9e0964d5df8b2a95eeb04 /Tests/RunCMake/GeneratorToolset | |
parent | eaf53849ec760ecc1000ab6f56519f203c9b4ff5 (diff) | |
download | CMake-7373b389ebf482fd16c70ff0e8b5abf403b4be07.zip CMake-7373b389ebf482fd16c70ff0e8b5abf403b4be07.tar.gz CMake-7373b389ebf482fd16c70ff0e8b5abf403b4be07.tar.bz2 |
Xcode: Drop support for Xcode versions below 3
Diffstat (limited to 'Tests/RunCMake/GeneratorToolset')
-rw-r--r-- | Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake b/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake index f6449f2..f89100e 100644 --- a/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake +++ b/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake @@ -31,7 +31,7 @@ if("${RunCMake_GENERATOR}" MATCHES "Visual Studio 1[01245]") endif() set(RunCMake_GENERATOR_TOOLSET "Test Toolset,not_a_key") run_cmake(BadToolsetFormat) -elseif("${RunCMake_GENERATOR}" STREQUAL "Xcode" AND NOT XCODE_BELOW_3) +elseif("${RunCMake_GENERATOR}" STREQUAL "Xcode") set(RunCMake_GENERATOR_TOOLSET "Test Toolset") run_cmake(TestToolset) set(RunCMake_GENERATOR_TOOLSET "Test Toolset,host=x64") @@ -47,7 +47,7 @@ set(RunCMake_TEST_OPTIONS -T "Extra Toolset") run_cmake(TwoToolsets) unset(RunCMake_TEST_OPTIONS) -if("${RunCMake_GENERATOR}" MATCHES "Visual Studio 1[01245]|Xcode" AND NOT XCODE_BELOW_3) +if("${RunCMake_GENERATOR}" MATCHES "Visual Studio 1[01245]|Xcode") set(RunCMake_TEST_OPTIONS -DCMAKE_TOOLCHAIN_FILE=${RunCMake_SOURCE_DIR}/TestToolset-toolchain.cmake) run_cmake(TestToolsetToolchain) unset(RunCMake_TEST_OPTIONS) |