diff options
author | Brad King <brad.king@kitware.com> | 2008-01-21 22:29:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-21 22:29:54 (GMT) |
commit | 19d22f6105ae064378e9175bed6a01b197e2eb5d (patch) | |
tree | fa6bf25a21b1204bdf750d494d512a0cda253560 | |
parent | 17dbc31ad4854eaa00c9be9825d1829f9fcc0047 (diff) | |
download | CMake-19d22f6105ae064378e9175bed6a01b197e2eb5d.zip CMake-19d22f6105ae064378e9175bed6a01b197e2eb5d.tar.gz CMake-19d22f6105ae064378e9175bed6a01b197e2eb5d.tar.bz2 |
BUG: Do not get in infinite loop when checking make tool version in cmake build tree.
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index dea7151..f0afcae 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -535,7 +535,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel SET(MAKE_IS_GNU ) IF(${CMAKE_TEST_MAKEPROGRAM} MATCHES make) EXEC_PROGRAM( - ${CMAKE_TEST_MAKEPROGRAM} ARGS --version + ${CMAKE_TEST_MAKEPROGRAM} ARGS --version no_such_target RETURN_VALUE res OUTPUT_VARIABLE out ) IF("${res}" EQUAL 0) |