cmake: avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24
This commit is contained in:
parent
73a06a4975
commit
73e5b9405f
@ -40,6 +40,12 @@ if(POLICY CMP0115)
|
||||
cmake_policy(SET CMP0115 NEW)
|
||||
endif()
|
||||
|
||||
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
|
||||
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
endif()
|
||||
|
||||
# Basic CMake configuration ##################################################
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
Loading…
Reference in New Issue
Block a user