aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndré Wöbbeking <woebbeking@kde.org>2006-05-06 17:53:08 +0000
committerAleix Pol <aleixpol@kde.org>2014-04-26 14:11:14 +0200
commitf33ff189c5ed126bd479f317d53bfeadf673fa27 (patch)
tree53f0e36c7dc82a479a23040558afa15d66ed7288 /src
parent55af85dc0b7ecf62ba31dd306f634377e56f8bbe (diff)
downloadkconfig-f33ff189c5ed126bd479f317d53bfeadf673fa27.tar.gz
kconfig-f33ff189c5ed126bd479f317d53bfeadf673fa27.tar.bz2
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/kdebugdialog/; revision=538074
Diffstat (limited to 'src')
-rw-r--r--src/kreadconfig/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kreadconfig/CMakeLists.txt b/src/kreadconfig/CMakeLists.txt
index 59c2f00c..df349ed6 100644
--- a/src/kreadconfig/CMakeLists.txt
+++ b/src/kreadconfig/CMakeLists.txt
@@ -14,7 +14,7 @@ kde4_add_executable(kreadconfig ${kreadconfig_SRCS})
target_link_libraries(kreadconfig ${KDE4_KDEUI_LIBS} )
-install_targets(/bin kreadconfig )
+install(TARGETS kreadconfig DESTINATION bin)
########### next target ###############
@@ -27,7 +27,7 @@ kde4_add_executable(kwriteconfig ${kwriteconfig_SRCS})
target_link_libraries(kwriteconfig ${KDE4_KDECORE_LIBS} )
-install_targets(/bin kwriteconfig )
+install(TARGETS kwriteconfig DESTINATION bin)
########### install files ###############