[cmake-commits] king committed CMakeLists.txt 1.40 1.41
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Jan 21 17:29:56 EST 2008
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv19989/Tests
Modified Files:
CMakeLists.txt
Log Message:
BUG: Do not get in infinite loop when checking make tool version in cmake build tree.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- CMakeLists.txt 14 Jan 2008 14:20:58 -0000 1.40
+++ CMakeLists.txt 21 Jan 2008 22:29:54 -0000 1.41
@@ -535,7 +535,7 @@
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)
More information about the Cmake-commits
mailing list