From e6f5bcffb3c561d228d88ff26edab26575b7d520 Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Mon, 17 Feb 2020 23:37:13 -0500 Subject: cmake: remove redundant cmake_policy() cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all policies from CMP0094 and older --- CMakeLists.txt | 2 -- 1 file changed, 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) -- cgit v0.12