summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake b/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake
index 007280a..09375d9 100644
--- a/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake
+++ b/Tests/RunCMake/GeneratorToolset/RunCMakeTest.cmake
@@ -1,17 +1,17 @@
include(RunCMake)
+set(RunCMake_GENERATOR_TOOLSET "")
run_cmake(NoToolset)
if("${RunCMake_GENERATOR}" MATCHES "Visual Studio 1[01]|Xcode" AND NOT XCODE_BELOW_3)
- set(RunCMake_TEST_OPTIONS -T "Test Toolset")
+ set(RunCMake_GENERATOR_TOOLSET "Test Toolset")
run_cmake(TestToolset)
- unset(RunCMake_TEST_OPTIONS)
else()
- set(RunCMake_TEST_OPTIONS -T "Bad Toolset")
+ set(RunCMake_GENERATOR_TOOLSET "Bad Toolset")
run_cmake(BadToolset)
- unset(RunCMake_TEST_OPTIONS)
endif()
-set(RunCMake_TEST_OPTIONS -T "Toolset 1" "-TToolset 2")
+set(RunCMake_GENERATOR_TOOLSET "")
+set(RunCMake_TEST_OPTIONS -T "Extra Toolset")
run_cmake(TwoToolsets)
unset(RunCMake_TEST_OPTIONS)