openbsd-ports/devel/cmake/patches/patch-Source_cmake_cxx
dcoppa a3c284dfa6 Update to CMake-3.7.0
Thanks to naddy@ who ran a bulk build with it
2016-11-28 09:15:13 +00:00

28 lines
971 B
Plaintext

$OpenBSD: patch-Source_cmake_cxx,v 1.13 2016/11/28 09:15:13 dcoppa Exp $
Revert 4e3c7725d0d724d7a8a0e8305d15713e01b20503: we want to build
CMake using Ninja
--- Source/cmake.cxx.orig Fri Nov 25 23:00:29 2016
+++ Source/cmake.cxx Fri Nov 25 23:02:52 2016
@@ -72,9 +72,7 @@
#include "cmGlobalWatcomWMakeGenerator.h"
#endif
#include "cmGlobalUnixMakefileGenerator3.h"
-#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmGlobalNinjaGenerator.h"
-#endif
#include "cmExtraCodeLiteGenerator.h"
#if !defined(CMAKE_BOOT_MINGW)
@@ -1669,9 +1667,7 @@ void cmake::AddDefaultGenerators()
this->Generators.push_back(cmGlobalMinGWMakefileGenerator::NewFactory());
#endif
this->Generators.push_back(cmGlobalUnixMakefileGenerator3::NewFactory());
-#if defined(CMAKE_BUILD_WITH_CMAKE)
this->Generators.push_back(cmGlobalNinjaGenerator::NewFactory());
-#endif
#if defined(CMAKE_USE_WMAKE)
this->Generators.push_back(cmGlobalWatcomWMakeGenerator::NewFactory());
#endif