From 208d93bf75a4a1486f6f94c34e71638a961e8645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 24 Oct 2013 03:08:14 +0200 Subject: Add new build option WITH_TDEICONLOADER_DEBUG --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bce50de8..53cfe8119 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,6 +102,8 @@ OPTION( WITH_KDE4_MENU_SUFFIX "Add [KDE4] tag to KDE4 menu items" OFF ) OPTION( WITH_ASPELL "Enable aspell support" ${WITH_ALL_OPTIONS} ) OPTION( WITH_HSPELL "Enable hspell support" ${WITH_ALL_OPTIONS} ) +OPTION( WITH_TDEICONLOADER_DEBUG "Enable debugging in TDEIconLoader class" OFF ) + ##### set PKG_CONFIG_PATH ####################### @@ -953,6 +955,13 @@ if( WITH_HSPELL ) endif( WITH_HSPELL ) +##### enable TDEIconLoader debugging ############ + +if ( WITH_TDEICONLOADER_DEBUG ) + set ( TDEICONLOADER_DEBUG 1 ) +endif ( WITH_TDEICONLOADER_DEBUG ) + + ##### write configure files ##################### configure_file( config.h.cmake config.h ) -- cgit v1.2.3