From 0d93c941a9ebdb6ce347cb89be49bc4febe29c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Sat, 6 May 2006 17:53:08 +0000 Subject: [PATCH] install executables with the install command instead of install_files/targets. when you install scripts with install(PROGRAMS ...) they're installed executable. svn path=/trunk/KDE/kdebase/workspace/; revision=538074 --- CMakeLists.txt | 2 +- clients/kwmtheme/cli_installer/CMakeLists.txt | 2 +- kcmkwin/kwinrules/CMakeLists.txt | 2 +- killer/CMakeLists.txt | 2 +- kompmgr/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa61b9ada2..dab589a5a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ target_link_libraries(kdeinit_kwin ${KDE4_KDEUI_LIBS} kdecorations DCOP ${X11_ install_targets(${LIB_INSTALL_DIR} kdeinit_kwin ) target_link_libraries( kwin kdeinit_kwin ) -install_targets(/bin kwin ) +install(TARGETS kwin DESTINATION bin) ########### install files ############### diff --git a/clients/kwmtheme/cli_installer/CMakeLists.txt b/clients/kwmtheme/cli_installer/CMakeLists.txt index 6cb3f1e730..2663b66888 100644 --- a/clients/kwmtheme/cli_installer/CMakeLists.txt +++ b/clients/kwmtheme/cli_installer/CMakeLists.txt @@ -12,7 +12,7 @@ kde4_add_executable(kwmtheme ${kwmtheme_SRCS}) target_link_libraries(kwmtheme ${KDE4_KDECORE_LIBS} ) -install_targets(/bin kwmtheme ) +install(TARGETS kwmtheme DESTINATION bin) ########### install files ############### diff --git a/kcmkwin/kwinrules/CMakeLists.txt b/kcmkwin/kwinrules/CMakeLists.txt index 58d681ba2e..0fec58df85 100644 --- a/kcmkwin/kwinrules/CMakeLists.txt +++ b/kcmkwin/kwinrules/CMakeLists.txt @@ -18,7 +18,7 @@ target_link_libraries(kdeinit_kwin_rules_dialog ${KDE4_KDEUI_LIBS} ) install_targets(${LIB_INSTALL_DIR} kdeinit_kwin_rules_dialog ) target_link_libraries( kwin_rules_dialog kdeinit_kwin_rules_dialog ) -install_targets(/bin kwin_rules_dialog ) +install(TARGETS kwin_rules_dialog DESTINATION bin) ########### next target ############### diff --git a/killer/CMakeLists.txt b/killer/CMakeLists.txt index b720dd0f47..ec3a7a2c2a 100644 --- a/killer/CMakeLists.txt +++ b/killer/CMakeLists.txt @@ -12,7 +12,7 @@ kde4_add_executable(kwin_killer_helper ${kwin_killer_helper_SRCS}) target_link_libraries(kwin_killer_helper ${KDE4_KDEUI_LIBS} ) -install_targets(/bin kwin_killer_helper ) +install(TARGETS kwin_killer_helper DESTINATION bin) ########### install files ############### diff --git a/kompmgr/CMakeLists.txt b/kompmgr/CMakeLists.txt index eca043fcec..b0717b6b62 100644 --- a/kompmgr/CMakeLists.txt +++ b/kompmgr/CMakeLists.txt @@ -12,7 +12,7 @@ kde4_add_executable(kompmgr ${kompmgr_SRCS}) target_link_libraries(kompmgr ${KDE4_KDECORE_LIBS} ${X11_Xcomposite_LIB} ${X11_Xdamage_LIB} ${X11_Xfixes_LIB} ${X11_Xext_LIB} m ) -install_targets(/bin kompmgr ) +install(TARGETS kompmgr DESTINATION bin) ########### install files ###############