From 365f03061337a81bcffb4a45c4ad637edad27019 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 17 Aug 2013 20:31:38 -0500 Subject: Add compilation support to enable/disable [KDE4] suffix in KDE4 menu items. This resolves bug report 1563. --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e84a52ad..5a443a261 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,6 +94,7 @@ OPTION( WITH_NETWORK_MANAGER_BACKEND "Enable network-manager support" OFF ) OPTION( WITH_SUDO_TDESU_BACKEND "Use sudo as backend for tdesu (default is su)" OFF ) OPTION( WITH_OLD_XDG_STD "Use the pre R14.0.0 XDG standard where both TDE and KDE are recognized in desktop files" OFF ) OPTION( WITH_LZMA "Enable support for LZMA/XZ" ${WITH_ALL_OPTIONS} ) +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} ) @@ -838,6 +839,13 @@ if( WITH_NETWORK_MANAGER_BACKEND ) endif( WITH_NETWORK_MANAGER_BACKEND ) +##### Add '[KDE4]' to KDE4 menu items ######### + +if( WITH_KDE4_MENU_SUFFIX ) + set( KDE4_MENU_SUFFIX 1 ) +endif ( WITH_KDE4_MENU_SUFFIX ) + + ##### check for gcc visibility support ######### # FIXME # This should check for [T]Qt3 visibility support -- cgit v1.2.3