szaszm commented on code in PR #1487:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1487#discussion_r1064994996
##########
cmake/BundledLibXml2.cmake:
##########
@@ -38,6 +38,10 @@ function(use_bundled_libxml2 SOURCE_DIR BINARY_DIR)
"-DCMAKE_INSTALL_PREFIX=${BINARY_DIR}/thirdparty/libxml2-install")
endif()
+ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.24)
+ cmake_policy(SET CMP0135 OLD) # Restore the timestamps from the
archive https://gitlab.kitware.com/cmake/cmake/-/issues/24003
+ endif()
Review Comment:
You can keep the policy and just add `DOWNLOAD_EXTRACT_TIMESTAMP ON` to
ExternalProject_Add.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]