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.
This commit is contained in:
Dale Glass 2022-06-22 19:17:49 +02:00
parent 95ebe6bab0
commit b7f5bba75b

View file

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