Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: Fix Warning for CMP0135 in remote modules (DownloadClangFormat)
Example message: CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.25/Modules/ExternalProject.cmake:3074 (message): The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is not set. The policy's OLD behavior will be used. When using a URL download, the timestamps of extracted files should preferably be that of the time of extraction, otherwise code that depends on the extracted contents might not be rebuilt if the URL changes. The OLD behavior preserves the timestamps from the archive instead, but this is usually not what you want. Update your project to the NEW behavior or specify the DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this robustness issue. Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.25/Modules/ExternalProject.cmake:4184 (_ep_add_download_command) C:/Dev/ITK-git/Utilities/ClangFormat/DownloadClangFormat.cmake:47 (ExternalProject_Add) C:/Dev/ITK-git/CMake/ITKModuleClangFormat.cmake:17 (include) C:/Dev/ITK-git/CMake/ITKModuleMacros.cmake:9 (include) C:/Dev/ITK-git/CMake/ITKModuleExternal.cmake:159 (include) CMakeLists.txt:7 (include) This warning is for project developers. Use -Wno-dev to suppress it.
- Loading branch information