From 19d22f6105ae064378e9175bed6a01b197e2eb5d Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 21 Jan 2008 17:29:54 -0500 Subject: [PATCH] BUG: Do not get in infinite loop when checking make tool version in cmake build tree. --- Tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index dea7151aa..f0afcae7e 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)