From a4666bd1dcf36ef25232cfa34bed3bd104808e6c Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 2 Jun 2015 08:58:19 +0200 Subject: [PATCH] Rename ENABLE_DEBUG option of CMake to ENABLE_DEBUG_LOGS. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ccb97aa6c..0bab56e2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ option(ENABLE_UNIT_TESTS "Enable compilation of unit tests." YES) option(ENABLE_UPNP "Build with uPnP support." YES) option(ENABLE_VIDEO "Build with video support." YES) cmake_dependent_option(ENABLE_ASSISTANT "Turn on assistant compiling." YES "ENABLE_GTK_UI" NO) -option(ENABLE_DEBUG "Turn on or off debug level logs." NO) +option(ENABLE_DEBUG_LOGS "Turn on or off debug level logs." NO) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") @@ -166,7 +166,7 @@ endif() if(ENABLE_ASSISTANT) include_directories(${SOUP_INCLUDE_DIRS}) endif() -if(ENABLE_DEBUG) +if(ENABLE_DEBUG_LOGS) add_definitions("-DDEBUG") endif() if(MSVC)