Fix gui/no-gui
This commit is contained in:
parent
9124e016f4
commit
52fbe44911
|
@ -1,6 +1,6 @@
|
|||
ecm_add_app_icon(SNORENOTIFY_DAEMON_DEPS ICONS ${PROJECT_SOURCE_DIR}/data/128-apps-snore.png)
|
||||
|
||||
add_executable( snorenotify WIN32 main.cpp snorenotify.cpp trayicon.cpp ${SNORENOTIFY_DAEMON_DEPS})
|
||||
add_executable( snorenotify main.cpp snorenotify.cpp trayicon.cpp ${SNORENOTIFY_DAEMON_DEPS})
|
||||
target_link_libraries( snorenotify Snore::Libsnore Snore::LibsnoreSettings)
|
||||
install(TARGETS snorenotify ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
ecm_add_app_icon(SNORENOTIFY_SETTINGS_DEPS ICONS ${PROJECT_SOURCE_DIR}/data/128-apps-snore.png)
|
||||
|
||||
add_executable( snoresettings-cli main-cli.cpp settingsutils.cpp ${SNORENOTIFY_SETTINGS_DEPS})
|
||||
ecm_mark_nongui_executable(snoresettings-cli)
|
||||
target_link_libraries( snoresettings-cli Snore::Libsnore)
|
||||
|
||||
if(Qt5Widgets_FOUND)
|
||||
qt5_wrap_ui(UI settingswindow.ui)
|
||||
add_executable( snoresettings WIN32 main.cpp settingswindow.cpp settingsutils.cpp ${UI} ${SNORENOTIFY_SETTINGS_DEPS})
|
||||
add_executable( snoresettings main.cpp settingswindow.cpp settingsutils.cpp ${UI} ${SNORENOTIFY_SETTINGS_DEPS})
|
||||
target_link_libraries( snoresettings Snore::Libsnore Snore::LibsnoreSettings)
|
||||
install(TARGETS snoresettings snoresettings-cli ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
|
|
Loading…
Reference in New Issue