From e55caa9d20258333b56c04f9b5579bcb57bd95e6 Mon Sep 17 00:00:00 2001 From: Project579 Date: Sat, 10 Sep 2022 12:55:14 +0200 Subject: [PATCH] Resolve issue #6931 Ugly warning with cmake 3.24 or newer --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d58ad43af..6928e37935 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,11 @@ if(POLICY CMP0092) cmake_policy(SET CMP0092 NEW) endif() +# set the timestamps of extracted contents to the time of extraction +if(POLICY CMP0135) + cmake_policy(SET CMP0135 NEW) +endif() + project(OpenMW) set(CMAKE_CXX_STANDARD 20)