diff options
author | Brad King <brad.king@kitware.com> | 2013-11-14 09:04:54 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-18 08:26:22 -0500 |
commit | 7fc7624af5403e6bff9dbc99da398be314c0b223 (patch) | |
tree | aceb80d7232bff12b2c579db8d287f55cea4e701 /Tests | |
parent | 0a7f17b870ceb03fd8687d630ed6fb875dcdc66a (diff) | |
download | cmake-7fc7624af5403e6bff9dbc99da398be314c0b223.tar.gz |
Tests: Move CMAKE_TEST_MAKEPROGRAM into Tests/CMakeLists.txt
Also drop the temporary MAKEPROGRAM variable and the DART_ROOT special
case. We never run dashboard clients with Dart anymore.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index b6e945e964..1b8b2ecf69 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -43,6 +43,10 @@ configure_file(${CMake_SOURCE_DIR}/Tests/EnforceConfig.cmake.in # Testing if(BUILD_TESTING) + if(NOT CMAKE_TEST_DIFFERENT_GENERATOR) + set(CMAKE_TEST_MAKEPROGRAM "${CMAKE_MAKE_PROGRAM}") + endif() + if("${CMAKE_TEST_GENERATOR}" MATCHES "Unix Makefiles" OR ("${CMAKE_TEST_GENERATOR}" MATCHES Ninja AND NOT WIN32)) set(TEST_CompileCommandOutput 1) endif() |