mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
CMake: Stop explicitly setting CMP0077
The policy_max in cmake_minimum_required() already does that.
This commit is contained in:
parent
8ffbc0f114
commit
ef540c1243
@ -15,13 +15,6 @@ message(STATUS "Build spdlog: ${SPDLOG_VERSION}")
|
|||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------------------
|
|
||||||
# Set CMake policies to support later version behaviour
|
|
||||||
# ---------------------------------------------------------------------------------------
|
|
||||||
if(POLICY CMP0077)
|
|
||||||
cmake_policy(SET CMP0077 NEW) # option() honors variables already set
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------
|
||||||
# Set default build to release
|
# Set default build to release
|
||||||
# ---------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user