summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-13 17:50:06 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-18 14:09:10 (GMT)
commit103aa9e46a5a59dc2c41cc1fa1aa6dd406b2924b (patch)
tree3a6293db032850cbc5d17d20965d2e3b68c4d15f /Source/CMakeLists.txt
parent6f24c4e93f6ae897b793f894b67543d86c7de477 (diff)
downloadCMake-103aa9e46a5a59dc2c41cc1fa1aa6dd406b2924b.zip
CMake-103aa9e46a5a59dc2c41cc1fa1aa6dd406b2924b.tar.gz
CMake-103aa9e46a5a59dc2c41cc1fa1aa6dd406b2924b.tar.bz2
cmFileTimeComparison: Use cmFileTime internally
This replaces OS dependent code in `cmFileTimeComparison` with `cmFileTime` instances that provide the required file time load and comparison operations. A new public `cmFileTimeComparison::Load` method is introduced that, for a given file name, updates the `cmFileTimeComparison` cache on demand and returns a `cmFileTime` instance on success.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 140754c..f615496 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -800,8 +800,6 @@ foreach(check
endif()
set_property(SOURCE cmFileTime.cxx APPEND PROPERTY
COMPILE_DEFINITIONS CMake_${check}=${CMake_${check}})
- set_property(SOURCE cmFileTimeComparison.cxx APPEND PROPERTY
- COMPILE_DEFINITIONS CMake_${check}=${CMake_${check}})
endforeach()
# create a library used by the command line and the GUI