From 273a731496986cfdfcd2ae0a236f99ae455373a3 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 13 Nov 2016 09:57:30 +0000 Subject: [PATCH] [CMAKE] - 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/CMakeLists.txt b/reactos/CMakeLists.txt index 0f95bc75827..ac1831ba250 100644 --- a/reactos/CMakeLists.txt +++ b/reactos/CMakeLists.txt @@ -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