google / googletest

GoogleTest - Google Testing and Mocking Framework
https://google.github.io/googletest/
BSD 3-Clause "New" or "Revised" License
34.93k stars 10.16k forks source link

Address Issue #4289 by setting CMake policy CMP0135 to the new (recommended) behavior when CMake version supports #4630

Open dodohand opened 1 month ago

dodohand commented 1 month ago

select new behavior for CMP0135 when supported by cmake so that: "CMake 3.24 and above prefers to set the timestamps of all extracted contents to the time of the extraction. This ensures that anything that depends on the extracted contents will be rebuilt whenever the URL changes."

Fixes #4289

dodohand commented 1 month ago

Link to Issue Fixes #4289 : https://github.com/google/googletest/issues/4289