diff options
author | André Wöbbeking <woebbeking@kde.org> | 2006-05-06 18:03:50 +0000 |
---|---|---|
committer | André Wöbbeking <woebbeking@kde.org> | 2006-05-06 18:03:50 +0000 |
commit | 5e61e9e7d235561ffcf222e086afc1e327c25dc9 (patch) | |
tree | 028b6efca3bfa8f1acc5dac99472c67fff736c67 | |
parent | 362e0eab35a569dbff7ab55555b47a9251118220 (diff) | |
download | extra-cmake-modules-5e61e9e7d235561ffcf222e086afc1e327c25dc9.tar.gz extra-cmake-modules-5e61e9e7d235561ffcf222e086afc1e327c25dc9.tar.bz2 |
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
-rw-r--r-- | samples/kcalc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | 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 ############### |