[CMAKE]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 13 Nov 2016 09:57:30 +0000 (09:57 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 13 Nov 2016 09:57:30 +0000 (09:57 +0000)
- We require automatic generation of phony targets for now. Set the corresponding CMake 3.3+ policy (CMP0058).
CORE-12373

svn path=/trunk/; revision=73219

reactos/CMakeLists.txt

index 0f95bc7..ac1831b 100644 (file)
@@ -16,6 +16,11 @@ if(POLICY CMP0051)
     cmake_policy(SET CMP0051 NEW)
 endif()
 
+if(POLICY CMP0058)
+    # Ninja requires custom command byproducts to be explicit
+    cmake_policy(SET CMP0058 OLD)
+endif()
+
 project(REACTOS)
 
 # Versioning