From 7b4936a1ab300c09cda0a8dba49932ae08f2a6f5 Mon Sep 17 00:00:00 2001 From: Michele Papalini Date: Thu, 23 Feb 2023 11:21:55 +0100 Subject: fix(libtransport): fix warning about DOWNLOAD_EXTRACT_TIMESTAMP on CMake 3.24 Ref: HICN-845 Signed-off-by: Michele Papalini Change-Id: Ibd2f8d83de7dd3bd11d4c292ae8e8de6c42c821a --- libtransport/third-party/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.2.3-korg