mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 02:48:37 +08:00
cmake: avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24
This commit is contained in:
parent
73a06a4975
commit
73e5b9405f
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue