From 3b2b47b52231d9d785ff93e8d347ced5a70190da Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 4 May 2019 00:17:28 -0400 Subject: [PATCH] CMakeLists: Remove setting of CMAKE_WARN_DEPRECATED CMake documentation states: "If this variable is not set, CMake behaves as if it were set to TRUE." So this isn't needed, as it's the default behavior. --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ccd4391..4ce8ddc3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,9 +27,6 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) -# Warn on CMake API deprecations -set(CMAKE_WARN_DEPRECATED ON) - # Disable in-source builds set(CMAKE_DISABLE_SOURCE_CHANGES ON) set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)