Author: tfaber
Date: Sun Nov 13 09:57:30 2016
New Revision: 73219
URL:
http://svn.reactos.org/svn/reactos?rev=73219&view=rev
Log:
[CMAKE]
- We require automatic generation of phony targets for now. Set the corresponding CMake
3.3+ policy (CMP0058).
CORE-12373
Modified:
trunk/reactos/CMakeLists.txt
Modified: trunk/reactos/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeLists.txt?rev=73219&a…
==============================================================================
--- trunk/reactos/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/CMakeLists.txt [iso-8859-1] Sun Nov 13 09:57:30 2016
@@ -14,6 +14,11 @@
if(POLICY CMP0051)
# List TARGET_OBJECTS in SOURCES target property
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)