diff options
author | Brad King <brad.king@kitware.com> | 2014-12-15 21:44:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-15 21:46:49 (GMT) |
commit | da7155f5bc70440ccb1238e73194c2a454442f8d (patch) | |
tree | 833109d33f32d1704e8ca055f42c94f1317bbae3 /Tests/RunCMake/CMakeLists.txt | |
parent | 1b3ab3318dcdabe074da3c95b54f9483d47f95be (diff) | |
download | CMake-da7155f5bc70440ccb1238e73194c2a454442f8d.zip CMake-da7155f5bc70440ccb1238e73194c2a454442f8d.tar.gz CMake-da7155f5bc70440ccb1238e73194c2a454442f8d.tar.bz2 |
Tests: Allow RunCMake tests to pass generator expressions
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 2bfd4d6..4ec8feb 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -1,7 +1,7 @@ # See adjacent README.rst for documentation of this test infrastructure. macro(add_RunCMake_test test) - add_test(RunCMake.${test} ${CMAKE_CMAKE_COMMAND} + add_test(NAME RunCMake.${test} COMMAND ${CMAKE_CMAKE_COMMAND} -DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR} -DRunCMake_GENERATOR=${CMAKE_GENERATOR} -DRunCMake_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM} |