From b7f5bba75b6b114aa3c577d82351e5b228ff13f4 Mon Sep 17 00:00:00 2001 From: Dale Glass Date: Wed, 22 Jun 2022 19:17:49 +0200 Subject: [PATCH] Change cmake policy CMP0074 to NEW https://cmake.org/cmake/help/latest/policy/CMP0074.html CMake says the old behavior is deprecated and will be removed. Everything seems to build OK with this setting so far. --- cmake/init.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/init.cmake b/cmake/init.cmake index ca95ad1a72..e9d1891d6b 100644 --- a/cmake/init.cmake +++ b/cmake/init.cmake @@ -11,7 +11,7 @@ if (POLICY CMP0042) endif () if (POLICY CMP0074) - cmake_policy(SET CMP0074 OLD) + cmake_policy(SET CMP0074 NEW) endif () set_property(GLOBAL PROPERTY USE_FOLDERS ON)