CMakeLists: Warn on deprecated API usages

This commit is contained in:
Lioncash 2016-08-22 09:15:05 -04:00 committed by MerryMage
parent 1bedd3bd7f
commit 723ce801c6

View file

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