1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-28 12:40:06 +00:00

Merge branch 'cmake-policy' into 'master'

Resolve issue #6931 Ugly warning with cmake 3.24 or newer

Closes #6931

See merge request OpenMW/openmw!2391
This commit is contained in:
psi29a 2022-09-10 13:02:00 +00:00
commit 23e1d2e76e

View File

@ -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)