Commit 19d22f61 authored by Brad King's avatar Brad King
Browse files

BUG: Do not get in infinite loop when checking make tool version in cmake build tree.

parent 17dbc31a
...@@ -535,7 +535,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel ...@@ -535,7 +535,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
SET(MAKE_IS_GNU ) SET(MAKE_IS_GNU )
IF(${CMAKE_TEST_MAKEPROGRAM} MATCHES make) IF(${CMAKE_TEST_MAKEPROGRAM} MATCHES make)
EXEC_PROGRAM( EXEC_PROGRAM(
${CMAKE_TEST_MAKEPROGRAM} ARGS --version ${CMAKE_TEST_MAKEPROGRAM} ARGS --version no_such_target
RETURN_VALUE res OUTPUT_VARIABLE out RETURN_VALUE res OUTPUT_VARIABLE out
) )
IF("${res}" EQUAL 0) IF("${res}" EQUAL 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment