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.
This commit is contained in:
Lioncash 2019-05-04 00:17:28 -04:00 committed by MerryMage
parent df996a8375
commit 3b2b47b522

View file

@ -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)