summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0135/CMP0135-OLD.cmake
diff options
context:
space:
mode:
authorKasper Laudrup <you@example.com>2022-04-01 18:18:33 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-05-04 23:01:54 (GMT)
commita283e58b51e55bc843c8d341bf0f8bc91f2f9ef1 (patch)
tree1044c82c2bae6115ebe0fc32f6b6cfac77312f12 /Tests/RunCMake/CMP0135/CMP0135-OLD.cmake
parente0dbca93aae6b01f8b239d346a0bc99d2ca2473e (diff)
downloadCMake-a283e58b51e55bc843c8d341bf0f8bc91f2f9ef1.zip
CMake-a283e58b51e55bc843c8d341bf0f8bc91f2f9ef1.tar.gz
CMake-a283e58b51e55bc843c8d341bf0f8bc91f2f9ef1.tar.bz2
ExternalProject: Add DOWNLOAD_EXTRACT_TIMESTAMP option and policy
Add the option to keep the current filestamps when extracting an archive in ExternalProject_Add. Enabling this option makes the behavior consistent with how ExternalProject_Add is used when checking out code from revision control instead of an archive. Fixes: #22746
Diffstat (limited to 'Tests/RunCMake/CMP0135/CMP0135-OLD.cmake')
-rw-r--r--Tests/RunCMake/CMP0135/CMP0135-OLD.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0135/CMP0135-OLD.cmake b/Tests/RunCMake/CMP0135/CMP0135-OLD.cmake
new file mode 100644
index 0000000..80d58a7
--- /dev/null
+++ b/Tests/RunCMake/CMP0135/CMP0135-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0135 OLD)
+include(CMP0135-Common.cmake)