mirror of
https://github.com/google/googletest.git
synced 2025-04-04 21:15:03 +00:00
Update CMakeLists.txt
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."
This commit is contained in:
parent
df1544bcee
commit
fda8e7b4c3
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
if(cmake_VERSION VERSION_GREATER_EQUAL "3.24")
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
endif()
|
||||
|
||||
project(googletest-distribution)
|
||||
set(GOOGLETEST_VERSION 1.15.2)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue