mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-16 22:27:41 -05:00
* Timestamps for URL downloads match the download time By enabling CMake policy 135 we ensure that extracted files timestamp match that of the download time, instead of when the archive is created. This makes sure that if the URL changes to an older version we still rebuild everything as the timestamp stays newer. * Introduce CPM_SET_RECOMMENDED_CMAKE_POLICIES Enabling CPM_SET_RECOMMENDED_CMAKE_POLICIES will establish defaults for all CMake policies so that both CPM and added projects operate inline with CPM recommended best practices. * Fix style issues found by ci * Update README.md Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com> * Update cmake/CPM.cmake Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com> * Set policies when CPM.cmake is included * CPM_SET_RECOMMENDED_CMAKE_POLICIES default is ON * Correct failing CI tests * CPM.cmake always sets policies to on Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>