Compilation warning with CMake policies
Using Git / Release 1.6.0
$ cmake --version
cmake version 3.27.6
$ cmake -S . -B build
[...] CMake Deprecation Warning at cmake/SuperBuild.cmake:31 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:211 (include)
[...]
CMake Warning (dev) at /usr/share/cmake/Modules/ExternalProject.cmake:3136 (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): /usr/share/cmake/Modules/ExternalProject.cmake:4345 (_ep_add_download_command) cmake/SuperBuild.cmake:237 (ExternalProject_Add) CMakeLists.txt:316 (sbuild_add_dependency) This warning is for project developers. Use -Wno-dev to suppress it.