[CMAKE] Use NEW policy for CMP0058. CORE-17109
authorThomas Faber <thomas.faber@reactos.org>
Sat, 6 Jun 2020 20:57:30 +0000 (22:57 +0200)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 20 Jun 2020 13:25:27 +0000 (15:25 +0200)
CMakeLists.txt

index d2c5fcf..826eeb9 100644 (file)
@@ -8,7 +8,7 @@ endif()
 
 if(POLICY CMP0058)
     # Ninja requires custom command byproducts to be explicit
-    cmake_policy(SET CMP0058 OLD)
+    cmake_policy(SET CMP0058 NEW)
 endif()
 
 if(POLICY CMP0065)