Commit 2fc9e28f authored by Thomas Branch's avatar Thomas Branch Committed by Albert Astals Cid
Browse files

Add Icons To Executable

Fix icon missing from windows executable

Differential Revision: https://phabricator.kde.org/D24525
parent 50695550
...@@ -31,6 +31,7 @@ include(ECMSetupVersion) ...@@ -31,6 +31,7 @@ include(ECMSetupVersion)
include(ECMGenerateHeaders) include(ECMGenerateHeaders)
include(ECMMarkNonGuiExecutable) include(ECMMarkNonGuiExecutable)
include(KDEInstallDirs) include(KDEInstallDirs)
include(ECMAddAppIcon)
include(ECMInstallIcons) include(ECMInstallIcons)
include(KDECompilerSettings NO_POLICY_SCOPE) include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings) include(KDECMakeSettings)
......
...@@ -24,6 +24,8 @@ ecm_qt_declare_logging_category(kmahjongg_SRCS HEADER kmahjongg_debug.h IDENTIFI ...@@ -24,6 +24,8 @@ ecm_qt_declare_logging_category(kmahjongg_SRCS HEADER kmahjongg_debug.h IDENTIFI
kconfig_add_kcfg_files(kmahjongg_SRCS prefs.kcfgc) kconfig_add_kcfg_files(kmahjongg_SRCS prefs.kcfgc)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-kmahjongg.png")
ecm_add_app_icon(kmahjongg_SRCS ICONS ${ICONS_SRCS})
add_executable(kmahjongg ${kmahjongg_SRCS}) add_executable(kmahjongg ${kmahjongg_SRCS})
target_link_libraries(kmahjongg target_link_libraries(kmahjongg
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment