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 +- samples/kpager/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ############### diff --git a/samples/kpager/CMakeLists.txt b/samples/kpager/CMakeLists.txt index 1033af75..df8009f3 100644 --- a/samples/kpager/CMakeLists.txt +++ b/samples/kpager/CMakeLists.txt @@ -29,7 +29,7 @@ KDE3_ADD_EXECUTABLE(kpager ${kpager_SRCS}) TARGET_LINK_LIBRARIES(kpager ${QT_AND_KDECORE_LIBS} kdeui ) -INSTALL_TARGETS(/bin kpager ) +install(TARGETS kpager DESTINATION bin) ########### install files ############### -- cgit v1.2.1