summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProjectUpdate
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-05 19:40:01 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-10 15:21:50 (GMT)
commit09ab207c668deadea3635a20812fa2f478c17f9f (patch)
tree7c3bdee26a650942d2659573d523752daa1e964a /Tests/ExternalProjectUpdate
parent6944997bd6aa69fdf88f8e4e154e68d57195b20b (diff)
downloadCMake-09ab207c668deadea3635a20812fa2f478c17f9f.zip
CMake-09ab207c668deadea3635a20812fa2f478c17f9f.tar.gz
CMake-09ab207c668deadea3635a20812fa2f478c17f9f.tar.bz2
Tests: Add generator platform support
Propagate CMAKE_GENERATOR_PLATFORM through the test hierarchy so that all tests can build with the selected generator platform, if any.
Diffstat (limited to 'Tests/ExternalProjectUpdate')
-rw-r--r--Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake b/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
index ea59a8e..51e768e 100644
--- a/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
+++ b/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
@@ -13,6 +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}
-DTEST_GIT_TAG:STRING=${desired_tag}
${ExternalProjectUpdate_SOURCE_DIR}
WORKING_DIRECTORY ${ExternalProjectUpdate_BINARY_DIR}