diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2020-02-18 04:37:13 (GMT) |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2020-02-21 03:14:27 (GMT) |
commit | e6f5bcffb3c561d228d88ff26edab26575b7d520 (patch) | |
tree | 7cf68fe6ad5e6a7e88ebdad31414421231a7a19c /CMakeLists.txt | |
parent | 2ca4c711f77d9cb95e3698de70d07823f4baa256 (diff) | |
download | Ninja-e6f5bcffb3c561d228d88ff26edab26575b7d520.zip Ninja-e6f5bcffb3c561d228d88ff26edab26575b7d520.tar.gz Ninja-e6f5bcffb3c561d228d88ff26edab26575b7d520.tar.bz2 |
cmake: remove redundant cmake_policy()
cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all
policies from CMP0094 and older
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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) |