summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2020-02-17 23:37:13 -0500
committerMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2020-02-20 22:14:27 -0500
commite6f5bcffb3c561d228d88ff26edab26575b7d520 (patch)
tree7cf68fe6ad5e6a7e88ebdad31414421231a7a19c
parent2ca4c711f77d9cb95e3698de70d07823f4baa256 (diff)
downloadninja-e6f5bcffb3c561d228d88ff26edab26575b7d520.tar.gz
cmake: remove redundant cmake_policy()
cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all policies from CMP0094 and older
-rw-r--r--CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2285357..e378d75 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,9 +1,7 @@
cmake_minimum_required(VERSION 3.15)
-cmake_policy(SET CMP0091 NEW)
project(ninja)
if(CMAKE_BUILD_TYPE MATCHES "Release")
- cmake_policy(SET CMP0069 NEW)
include(CheckIPOSupported)
check_ipo_supported(RESULT lto_supported OUTPUT error)