[cmake-commits] king committed CMakeLists.txt 1.45 1.46

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 1 09:36:56 EST 2008


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv18898/Tests

Modified Files:
	CMakeLists.txt 
Log Message:
BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before --version flag instead of after.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- CMakeLists.txt	30 Jan 2008 17:04:38 -0000	1.45
+++ CMakeLists.txt	1 Feb 2008 14:36:54 -0000	1.46
@@ -572,7 +572,7 @@
   SET(MAKE_IS_GNU )
   IF(${CMAKE_TEST_MAKEPROGRAM} MATCHES make)
     EXEC_PROGRAM(
-      ${CMAKE_TEST_MAKEPROGRAM} ARGS --version no_such_target
+      ${CMAKE_TEST_MAKEPROGRAM} ARGS no_such_target --version
       RETURN_VALUE res OUTPUT_VARIABLE out
       )
     IF("${res}" EQUAL 0)



More information about the Cmake-commits mailing list