mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 00:39:03 -05:00
ENH: Remove old IF(FILE_IS_NEWER) syntax. It was never in a release anyway.
This commit is contained in:
@@ -76,9 +76,6 @@ FOREACH(var
|
||||
ENDFOREACH(var)
|
||||
|
||||
# Verify that the file was created recently.
|
||||
IF(NOT FILE_IS_NEWER "${file}" "${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")
|
||||
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_THAN "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
|
||||
|
||||
Reference in New Issue
Block a user