diff options
author | Brad King <brad.king@kitware.com> | 2014-09-12 14:38:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-15 14:26:59 (GMT) |
commit | d506fee81ca8fca7fe0c91da4bd4a3551d210b06 (patch) | |
tree | 3af2748680dbfd8b4cc08f27ab22357c3ec3ca61 /Tests/CTestConfig | |
parent | 11c9ddd6949eb7725de1f6b459508b23a81f25c1 (diff) | |
download | CMake-d506fee81ca8fca7fe0c91da4bd4a3551d210b06.zip CMake-d506fee81ca8fca7fe0c91da4bd4a3551d210b06.tar.gz CMake-d506fee81ca8fca7fe0c91da4bd4a3551d210b06.tar.bz2 |
Tests: Use -A option to pass generator platform selection
This is less verbose than defining CMAKE_GENERATOR_PLATFORM.
Diffstat (limited to 'Tests/CTestConfig')
-rw-r--r-- | Tests/CTestConfig/dashboard.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestConfig/dashboard.cmake.in b/Tests/CTestConfig/dashboard.cmake.in index cb01744..143fe71 100644 --- a/Tests/CTestConfig/dashboard.cmake.in +++ b/Tests/CTestConfig/dashboard.cmake.in @@ -19,7 +19,7 @@ message("cmake initial configure") execute_process(COMMAND ${CMAKE_COMMAND} ${arg} -G "@CMAKE_GENERATOR@" - -DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM} + -A "@CMAKE_GENERATOR_PLATFORM@" -T "@CMAKE_GENERATOR_TOOLSET@" ${CTEST_SOURCE_DIRECTORY} WORKING_DIRECTORY ${CTEST_BINARY_DIRECTORY} |