aboutsummaryrefslogtreecommitdiff
path: root/src/kconf_update/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Richardson <arichardson.kde@gmail.com>2014-05-07 18:28:09 +0200
committerAlex Richardson <arichardson.kde@gmail.com>2014-05-07 20:48:15 +0200
commit7544b8344254cc60dc18fac564ca5f24c52ce66b (patch)
tree304c9ed426271b59310be9aa8978b91d4ae2041e /src/kconf_update/CMakeLists.txt
parentc61df3e92947592a99c71da121356eb1600fb161 (diff)
downloadkconfig-7544b8344254cc60dc18fac564ca5f24c52ce66b.tar.gz
kconfig-7544b8344254cc60dc18fac564ca5f24c52ce66b.tar.bz2
Use QProcess in kconf_update
This allows removing some custom WIN32 API code and is also nicer than directly calling system()
Diffstat (limited to 'src/kconf_update/CMakeLists.txt')
-rw-r--r--src/kconf_update/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kconf_update/CMakeLists.txt b/src/kconf_update/CMakeLists.txt
index d7ea4605..f75c31c8 100644
--- a/src/kconf_update/CMakeLists.txt
+++ b/src/kconf_update/CMakeLists.txt
@@ -14,6 +14,8 @@ set(kconf_update_SRCS
add_executable(kconf_update ${kconf_update_SRCS})
add_executable(KF5::kconf_update ALIAS kconf_update)
target_link_libraries(kconf_update Qt5::Core KF5::ConfigCore)
+include(ECMMarkNonGuiExecutable)
+ecm_mark_nongui_executable(kconf_update)
# Although this is mostly an internal binary (hence installing it in
# KF5_LIBEXEC_INSTALL_DIR), it is used by kded, and so we export its location