summaryrefslogtreecommitdiffstats
path: root/Tests/CTestBuildCommandProjectInSubdir
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-14 18:32:39 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-18 16:30:49 (GMT)
commite965cb12e2083d6b869fb30fabe7e290e6094908 (patch)
treeeb93ff41b07be53e941c7f3604562bfebd612768 /Tests/CTestBuildCommandProjectInSubdir
parent72bf2552f2c750bc52b9e2cc3f85320d6452c3a4 (diff)
downloadCMake-e965cb12e2083d6b869fb30fabe7e290e6094908.zip
CMake-e965cb12e2083d6b869fb30fabe7e290e6094908.tar.gz
CMake-e965cb12e2083d6b869fb30fabe7e290e6094908.tar.bz2
Tests: Simplify CTest.BuildCommand.ProjectInSubdir configuration
Collect all ctest_configure options in a list to configure it into the test script. Drop the unused -DCMAKE_MAKE_PROGRAM argument to ctest.
Diffstat (limited to 'Tests/CTestBuildCommandProjectInSubdir')
-rw-r--r--Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in b/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in
index ea48c78..abf010b 100644
--- a/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in
+++ b/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in
@@ -8,5 +8,5 @@ set(CTEST_BUILD_CONFIGURATION "@CTestTest_CONFIG@")
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
ctest_start(Experimental)
-ctest_configure(OPTIONS "@CMAKE_TEST_GENERATOR_TOOLSET_SELECTION@-DCMAKE_MAKE_PROGRAM:FILEPATH=@CMAKE_TEST_MAKEPROGRAM@")
+ctest_configure(OPTIONS "@ctest_configure_options@")
ctest_build(TARGET test)