From 90e55963b35ae4795b9c30be29d9f58ebecf8c17 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Mon, 5 Mar 2018 00:19:15 -0500 Subject: [PATCH] Remove unneeded CMP0028 policy setting Since `CMP0028` was introduced in CMake 3.0, and the minimum required version is `3.0`, there is no need to explicit set the policy. References: * https://cmake.org/cmake/help/git-master/manual/cmake-policies.7.html#policies-introduced-by-cmake-3-0 * https://cmake.org/cmake/help/git-master/command/cmake_minimum_required.html --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b44efe..d8fd0b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,6 @@ cmake_minimum_required(VERSION 3.0 FATAL_ERROR) include(cmake/Custom.cmake) # Set policies -set_policy(CMP0028 NEW) # ENABLE CMP0028: Double colon in target name means ALIAS or IMPORTED target. set_policy(CMP0054 NEW) # ENABLE CMP0054: Only interpret if() arguments as variables or keywords when unquoted. set_policy(CMP0042 NEW) # ENABLE CMP0042: MACOSX_RPATH is enabled by default. set_policy(CMP0063 NEW) # ENABLE CMP0063: Honor visibility properties for all target types.