Skip to content

Commit 90e5596

Browse files
authored
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
1 parent 8d34a70 commit 90e5596

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
1414
include(cmake/Custom.cmake)
1515

1616
# Set policies
17-
set_policy(CMP0028 NEW) # ENABLE CMP0028: Double colon in target name means ALIAS or IMPORTED target.
1817
set_policy(CMP0054 NEW) # ENABLE CMP0054: Only interpret if() arguments as variables or keywords when unquoted.
1918
set_policy(CMP0042 NEW) # ENABLE CMP0042: MACOSX_RPATH is enabled by default.
2019
set_policy(CMP0063 NEW) # ENABLE CMP0063: Honor visibility properties for all target types.

0 commit comments

Comments
 (0)