Browse Source

- ninja: change minimum required cmake version to 3.7

master
vanhofen 4 years ago
parent
commit
9c649bf3bc
  1. 4
      patches/ninja/0001-set-minimum-cmake-version.patch

4
patches/ninja/0001-set-minimum-cmake-version-to-3.10.patch → patches/ninja/0001-set-minimum-cmake-version.patch

@ -1,7 +1,7 @@
From 4645f74eb668cc1cf876d1e9bef933591da7575c Mon Sep 17 00:00:00 2001
From: Adam Duskett <aduskett@gmail.com>
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")
Loading…
Cancel
Save