mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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
6 lines
200 B
CMake
6 lines
200 B
CMake
cmake_policy(SET CMP0114 NEW)
|
|
cmake_policy(SET CMP0135 NEW)
|
|
include(ExternalProject)
|
|
ExternalProject_Add(BAR SOURCE_DIR . TEST_COMMAND echo test)
|
|
ExternalProject_Add_StepTargets(BAR NO_DEPENDS test)
|