-
-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CMake reporting DOWNLOAD_EXTRACT_TIMESTAMP
option and CMP0135
policy-related warning for remotes
#3846
Labels
type:Infrastructure
Infrastructure/ecosystem related changes, such as CMake or buildbots
Comments
A brand new remote module (https://github.com/thewtex/ANTsWasm) has this problem when configured locally:
#4404 fixes it for me. |
2 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
The CMake configure step is reporting a warning related to the
DOWNLOAD_EXTRACT_TIMESTAMP
option and policyCMP0135
for theITKModuleTemplate
:https://open.cdash.org/build/8374987/configure
And at least one remote (
ITKTextureFeatures
):https://open.cdash.org/build/8374782/configure
It is weird that the rest of the remotes are not reporting the warning. This seems worrying. The warning has been observed on Jan 3 2023 for the first time in the module template or the remotes.
Impact analysis
Unsure.
Expected behavior
The CMake configuration step should complete without warnings.
Actual behavior
The CMake configuration step raises a warning related to the
DOWNLOAD_EXTRACT_TIMESTAMP
option andCMP0135
policy .Versions
main
/master
.Environment
Any OS/compiler. Unsure about CMake.
Additional Information
A few notes:
3.10.2
as the minimum version, e.g.:https://github.com/InsightSoftwareConsortium/ITKMontage/blob/master/CMakeLists.txt#L1
https://github.com/KitwareMedical/ITKRLEImage/blob/master/CMakeLists.txt#L1
3.10.2
as the CMake minimum version by some remotes without raising a warning is worrying, since MSVC builds, e.g.https://open.cdash.org/build/8372609
are supposed to raise it:
ITK/CMake/ITKModuleExternal.cmake
Line 10 in 7ba787a
lukka/get-cmake@v3.24.2
action version,ITKModuleTemplate
does not yet use that commit.DOWNLOAD_EXTRACT_TIMESTAMP
toTRUE
in wrapping modules #3709, COMP: SetDOWNLOAD_EXTRACT_TIMESTAMP
toTRUE
for Windows wrapping #3763https://github.com/InsightSoftwareConsortium/ITK/blob/7ba787a2d0df3d99fdbaa5ad343e87506c1045cd/CMake/ITKModuleExternal.cmake
A quick look at some of the remotes shows a great diversity in their
CMakeLists.txt
files: they have gone out-of-sync.The text was updated successfully, but these errors were encountered: