From 723ce801c6703ac2b69ca886ddf841d2f0033c52 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 22 Aug 2016 09:15:05 -0400 Subject: [PATCH] CMakeLists: Warn on deprecated API usages --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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)