From e965cb12e2083d6b869fb30fabe7e290e6094908 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 Nov 2013 13:32:39 -0500 Subject: 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. --- .../CTestBuildCommandProjectInSubdir.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/CTestBuildCommandProjectInSubdir') diff --git a/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in b/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in index ea48c780f0..abf010b152 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) -- cgit v1.2.1