[cmake-commits] hoffman committed CMakeLists.txt 1.15.2.1 1.15.2.2

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 27 16:01:57 EDT 2006


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

Modified Files:
      Tag: CMake-2-4
	CMakeLists.txt 
Log Message:
ENH: move changes from main tree


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/StringFileTest/CMakeLists.txt,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -u -d -r1.15.2.1 -r1.15.2.2
--- CMakeLists.txt	13 Oct 2006 14:52:16 -0000	1.15.2.1
+++ CMakeLists.txt	27 Oct 2006 20:01:55 -0000	1.15.2.2
@@ -76,9 +76,9 @@
 ENDFOREACH(var)
 
 # Verify that the file was created recently.
-IF(NOT FILE_IS_NEWER "${file}" "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
+IF(NOT "${file}" IS_NEWER_THAN "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
   MESSAGE(FATAL_ERROR "IF(FILE_IS_NEWER) does not seem to work.")
-ENDIF(NOT FILE_IS_NEWER "${file}" "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
+ENDIF(NOT "${file}" IS_NEWER_THAN "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
 
 # Test configuration of the string
 SET(TEST_DEFINED 123)



More information about the Cmake-commits mailing list