From c9c81267d2690e2aade4099b999d4fb8b5dfb7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 5 May 2014 16:33:24 +0200 Subject: [PATCH] [data] Rename kwin_update_default_rules to kwin5_update_default_rules Rename is for better coinstallability. It makes sense to support both versions as kwin4 and kwin5 use different config file paths. --- data/CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 2d285412ed..26274ada70 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,12 +1,9 @@ ########### next target ############### -set(kwin_update_default_rules_SRCS update_default_rules.cpp) +add_executable( kwin5_update_default_rules update_default_rules.cpp) +target_link_libraries( kwin5_update_default_rules Qt5::Core Qt5::DBus KF5::ConfigCore ) -add_executable( kwin_update_default_rules ${kwin_update_default_rules_SRCS}) - -target_link_libraries( kwin_update_default_rules Qt5::Core Qt5::DBus KF5::ConfigCore ) - -install(TARGETS kwin_update_default_rules DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin/ ) +install(TARGETS kwin5_update_default_rules DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin/ ) ########### install files ###############