aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2023-02-23 11:21:55 +0100
committerMichele Papalini <micpapal@cisco.com>2023-02-23 10:25:37 +0000
commit7b4936a1ab300c09cda0a8dba49932ae08f2a6f5 (patch)
tree4532fa078ca998d5cf207bf5998cf782600daada /libtransport
parent72b817788da71336fda8f75a81db59dc2fe98bb6 (diff)
fix(libtransport): fix warning about DOWNLOAD_EXTRACT_TIMESTAMP on CMake 3.24HEADmaster
Ref: HICN-845 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: Ibd2f8d83de7dd3bd11d4c292ae8e8de6c42c821a
Diffstat (limited to 'libtransport')
-rw-r--r--libtransport/third-party/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtransport/third-party/CMakeLists.txt b/libtransport/third-party/CMakeLists.txt
index bcda41c1e..25c6f7c20 100644
--- a/libtransport/third-party/CMakeLists.txt
+++ b/libtransport/third-party/CMakeLists.txt
@@ -67,6 +67,11 @@ if (ENABLE_RELY)
)
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()
+
FetchContent_Declare(
glog
URL https://github.com/google/glog/archive/refs/tags/v0.5.0.zip