aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <[email protected]>2018-01-22 18:08:48 +0100
committerDaniel Vrátil <[email protected]>2018-01-22 23:45:03 +0100
commit7f0ab4473396ff45248faccee86bff5f7368fce9 (patch)
tree78f7d48945004ae2b0d5472a897c3238605cf041
parentfdb3cc38928a1b9f601493d6938b4f3621f89838 (diff)
Mark akonadictl as non-GUI app
That's the only way to get it write to console on Windows.
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/akonadictl/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9788bea..ae2596c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,6 +25,7 @@ include(ECMQtDeclareLoggingCategory)
include(CheckSymbolExists)
include(ECMCoverageOption)
include(KDEPackageAppTemplates)
+include(ECMMarkNonGuiExecutable)
include(AkonadiMacros)
diff --git a/src/akonadictl/CMakeLists.txt b/src/akonadictl/CMakeLists.txt
index 00a6523..3d8c519 100644
--- a/src/akonadictl/CMakeLists.txt
+++ b/src/akonadictl/CMakeLists.txt
@@ -16,6 +16,7 @@ qt5_add_dbus_interfaces(akonadictl_SRCS
add_executable(akonadictl ${akonadictl_SRCS})
set_target_properties(akonadictl PROPERTIES OUTPUT_NAME akonadictl)
+ecm_mark_nongui_executable(akonadictl)
target_link_libraries(akonadictl
akonadi_shared
KF5AkonadiPrivate