Snoresend is a cmd application so mark it as non gui

This commit is contained in:
Patrick von Reth 2015-08-17 12:02:44 +02:00
parent 4fc6e33cd4
commit a038f03347
2 changed files with 5 additions and 3 deletions

View File

@ -20,8 +20,9 @@ include(GenerateExportHeader)
include(ECMAddAppIcon) include(ECMAddAppIcon)
include(ECMGeneratePriFile) include(ECMGeneratePriFile)
include(ECMInstallIcons) include(ECMInstallIcons)
include(ECMPackageConfigHelpers) include(ECMMarkNonGuiExecutable)
include(ECMOptionalAddSubdirectory) include(ECMOptionalAddSubdirectory)
include(ECMPackageConfigHelpers)
include(ECMSetupVersion) include(ECMSetupVersion)

View File

@ -1,6 +1,7 @@
ecm_add_app_icon(SNORENOTIFY_SNORESEND_DEPS ICONS ${PROJECT_SOURCE_DIR}/data/128-apps-snore.png) ecm_add_app_icon(SNORENOTIFY_SNORESEND_DEPS ICONS ${PROJECT_SOURCE_DIR}/data/128-apps-snore.png)
add_executable( snoresend main.cpp ${SNORENOTIFY_SNORESEND_DEPS}) add_executable(snoresend main.cpp ${SNORENOTIFY_SNORESEND_DEPS})
target_link_libraries( snoresend Snore::Libsnore) target_link_libraries(snoresend Snore::Libsnore)
ecm_mark_nongui_executable(snoresend)
install(TARGETS snoresend ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) install(TARGETS snoresend ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})