From ef540c1243253f410409b7869d030cd9ef07bd52 Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Wed, 8 Sep 2021 16:45:04 +0100 Subject: [PATCH] CMake: Stop explicitly setting CMP0077 The policy_max in cmake_minimum_required() already does that. --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 296b5be7..58e76f52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,13 +15,6 @@ message(STATUS "Build spdlog: ${SPDLOG_VERSION}") 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 # ---------------------------------------------------------------------------------------