Skip to content

Commit ef540c1

Browse files
committed
CMake: Stop explicitly setting CMP0077
The policy_max in cmake_minimum_required() already does that.
1 parent 8ffbc0f commit ef540c1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ message(STATUS "Build spdlog: ${SPDLOG_VERSION}")
1515

1616
include(GNUInstallDirs)
1717

18-
# ---------------------------------------------------------------------------------------
19-
# Set CMake policies to support later version behaviour
20-
# ---------------------------------------------------------------------------------------
21-
if(POLICY CMP0077)
22-
cmake_policy(SET CMP0077 NEW) # option() honors variables already set
23-
endif()
24-
2518
# ---------------------------------------------------------------------------------------
2619
# Set default build to release
2720
# ---------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)