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:
parent
df996a8375
commit
3b2b47b522
1 changed files with 0 additions and 3 deletions
|
@ -27,9 +27,6 @@ set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
# Warn on CMake API deprecations
|
|
||||||
set(CMAKE_WARN_DEPRECATED ON)
|
|
||||||
|
|
||||||
# Disable in-source builds
|
# Disable in-source builds
|
||||||
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
|
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
|
||||||
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
|
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
|
||||||
|
|
Loading…
Reference in a new issue