aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2014-07-01 18:02:36 +0200
committerJonathan Riddell <jr@jriddell.org>2014-07-01 18:02:36 +0200
commit6295d0fed97a4f534a00a479611f0f2a0a9e4e19 (patch)
tree9fa5ba02b6768c2e5ced6cde61db7ff41cde2517
parentbaa6fdc54692f906f631b84c9457466aee998123 (diff)
downloadextra-cmake-modules-6295d0fed97a4f534a00a479611f0f2a0a9e4e19.tar.gz
extra-cmake-modules-6295d0fed97a4f534a00a479611f0f2a0a9e4e19.tar.bz2
give a warning if using invalid (typically old KDE 3) categoriesv0.0.15-rc3v0.0.15-rc2v0.0.15-rc1
-rw-r--r--modules/ECMInstallIcons.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ECMInstallIcons.cmake b/modules/ECMInstallIcons.cmake
index ccbbfea2..c186bd09 100644
--- a/modules/ECMInstallIcons.cmake
+++ b/modules/ECMInstallIcons.cmake
@@ -172,6 +172,7 @@ macro(_ecm_add_icon_install_rule _install_SCRIPT _install_PATH _group _orig_NAME
if (NOT ${_group} STREQUAL ${_install_NAME} )
set(_icon_GROUP ${_ECM_ICON_GROUP_${_group}})
if(NOT _icon_GROUP)
+ message(WARNING "Icon ${_install_NAME} uses invalid category ${_group}, setting to 'actions'")
set(_icon_GROUP "actions")
endif(NOT _icon_GROUP)
# message(STATUS "icon: ${_current_ICON} size: ${_size} group: ${_group} name: ${_name} l10n: ${_l10n_SUBDIR}")