diff --git a/patches/ninja/0001-set-minimum-cmake-version-to-3.10.patch b/patches/ninja/0001-set-minimum-cmake-version.patch similarity index 89% rename from patches/ninja/0001-set-minimum-cmake-version-to-3.10.patch rename to patches/ninja/0001-set-minimum-cmake-version.patch index d75b78fd..f720a833 100644 --- a/patches/ninja/0001-set-minimum-cmake-version-to-3.10.patch +++ b/patches/ninja/0001-set-minimum-cmake-version.patch @@ -1,7 +1,7 @@ From 4645f74eb668cc1cf876d1e9bef933591da7575c Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Mon, 3 Feb 2020 06:21:57 -0800 -Subject: [PATCH] set minimum cmake version to 3.10 +Subject: [PATCH] set minimum cmake version The CMakeLists.txt file uses the CMP0091 which is an MSVC runtime library flag abstraction macro. @@ -21,7 +21,7 @@ index 60fd8a1..a040e0b 100644 @@ -1,5 +1,4 @@ -cmake_minimum_required(VERSION 3.15) -cmake_policy(SET CMP0091 NEW) -+cmake_minimum_required(VERSION 3.10) ++cmake_minimum_required(VERSION 3.7) project(ninja) if(CMAKE_BUILD_TYPE MATCHES "Release")