diff --git a/CMakeLists.txt b/CMakeLists.txt index 51057f81..e5956cd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)