summaryrefslogtreecommitdiff
path: root/Tests/ExternalProjectUpdate
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-12 10:38:32 -0400
committerBrad King <brad.king@kitware.com>2014-09-15 10:26:59 -0400
commitd506fee81ca8fca7fe0c91da4bd4a3551d210b06 (patch)
tree3af2748680dbfd8b4cc08f27ab22357c3ec3ca61 /Tests/ExternalProjectUpdate
parent11c9ddd6949eb7725de1f6b459508b23a81f25c1 (diff)
downloadcmake-d506fee81ca8fca7fe0c91da4bd4a3551d210b06.tar.gz
Tests: Use -A option to pass generator platform selection
This is less verbose than defining CMAKE_GENERATOR_PLATFORM.
Diffstat (limited to 'Tests/ExternalProjectUpdate')
-rw-r--r--Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake b/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
index 51e768e6c5..6c7bcfe402 100644
--- a/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
+++ b/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
@@ -13,7 +13,7 @@ macro(check_a_tag desired_tag resulting_sha fetch_expected)
# Configure
execute_process(COMMAND ${CMAKE_COMMAND}
-G ${CMAKE_GENERATOR} -T "${CMAKE_GENERATOR_TOOLSET}"
- -DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
+ -A "${CMAKE_GENERATOR_PLATFORM}"
-DTEST_GIT_TAG:STRING=${desired_tag}
${ExternalProjectUpdate_SOURCE_DIR}
WORKING_DIRECTORY ${ExternalProjectUpdate_BINARY_DIR}