mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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)
|