mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
cmake: avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24
This commit is contained in:
committed by
Petro Karashchenko
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)
|
||||
|
||||
Reference in New Issue
Block a user