summaryrefslogtreecommitdiff
path: root/Tests/CTestTestDepends
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-05 15:40:01 -0400
committerBrad King <brad.king@kitware.com>2014-09-10 11:21:50 -0400
commit09ab207c668deadea3635a20812fa2f478c17f9f (patch)
tree7c3bdee26a650942d2659573d523752daa1e964a /Tests/CTestTestDepends
parent6944997bd6aa69fdf88f8e4e154e68d57195b20b (diff)
downloadcmake-09ab207c668deadea3635a20812fa2f478c17f9f.tar.gz
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/CTestTestDepends')
-rw-r--r--Tests/CTestTestDepends/test.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CTestTestDepends/test.cmake.in b/Tests/CTestTestDepends/test.cmake.in
index a7de8ccb47..74fddb3d3c 100644
--- a/Tests/CTestTestDepends/test.cmake.in
+++ b/Tests/CTestTestDepends/test.cmake.in
@@ -9,6 +9,7 @@ set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestDepen
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestDepends")
set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
+set(CTEST_CMAKE_GENERATOR_PLATFORM "@CMAKE_GENERATOR_PLATFORM@")
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")