From 5e61e9e7d235561ffcf222e086afc1e327c25dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Sat, 6 May 2006 18:03:50 +0000 Subject: install executables with the install command instead of deprecated install_files/targets. when you install scripts with install(PROGRAMS ...) they're installed executable. svn path=/trunk/KDE/kdelibs/; revision=538076 The following changes were in SVN, but were removed from git: M pics/CMakeLists.txt --- samples/kcalc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples/kcalc') diff --git a/samples/kcalc/CMakeLists.txt b/samples/kcalc/CMakeLists.txt index 8418baf6..e402fd72 100644 --- a/samples/kcalc/CMakeLists.txt +++ b/samples/kcalc/CMakeLists.txt @@ -56,7 +56,7 @@ TARGET_LINK_LIBRARIES(kdeinit_kcalc ${QT_AND_KDECORE_LIBS} kdeui knumber gmp) INSTALL_TARGETS(/lib kdeinit_kcalc ) TARGET_LINK_LIBRARIES( kcalc kdeinit_kcalc ) -INSTALL_TARGETS(/bin kcalc ) +install(TARGETS kcalc DESTINATION bin) ########### install files ############### -- cgit v1.2.1