CMakeLists: Warn on deprecated API usages
This commit is contained in:
parent
1bedd3bd7f
commit
723ce801c6
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ set(CMAKE_CXX_STANDARD 14)
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
# Warn on CMake API deprecations
|
||||
set(CMAKE_WARN_DEPRECATED ON)
|
||||
|
||||
# Signify where the module directories are
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
||||
|
||||
|
|
Loading…
Reference in a new issue