From d3d4061adce4724571239c3b92d75a52919a1f74 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 20 Sep 2006 12:57:59 +0000 Subject: [PATCH] Fix CMakefiles git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586716 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- examples/CMakeLists.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 9b8f7c7e..3e91a979 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -10,9 +10,9 @@ tagreader.cpp ADD_EXECUTABLE(tagreader ${tagreader_SRCS}) -TARGET_LINK_LIBRARIES(tagreader ${QT_AND_KDECORE_LIBS} ) +TARGET_LINK_LIBRARIES(tagreader tag ) -INSTALL_TARGETS(/bin tagreader ) +INSTALL(PROGRAMS tagreader DESTINATION ${BIN_INSTALL_DIR} ) ########### next target ############### @@ -24,9 +24,9 @@ tagreader_c.c ADD_EXECUTABLE(tagreader_c ${tagreader_c_SRCS}) -TARGET_LINK_LIBRARIES(tagreader_c ${QT_AND_KDECORE_LIBS} tag_c ) +TARGET_LINK_LIBRARIES(tagreader_c tag_c ) -INSTALL_TARGETS(/bin tagreader_c ) +INSTALL(PROGRAMS tagreader_c DESTINATION ${BIN_INSTALL_DIR}) ########### next target ############### @@ -38,9 +38,9 @@ tagwriter.cpp ADD_EXECUTABLE(tagwriter ${tagwriter_SRCS}) -TARGET_LINK_LIBRARIES(tagwriter ${QT_AND_KDECORE_LIBS} ) +TARGET_LINK_LIBRARIES(tagwriter tag ) -INSTALL_TARGETS(/bin tagwriter ) +INSTALL(PROGRAMS tagwriter DESTINATION ${BIN_INSTALL_DIR}) ########### next target ############### @@ -54,7 +54,7 @@ ADD_EXECUTABLE(framelist ${framelist_SRCS}) TARGET_LINK_LIBRARIES(framelist ${QT_AND_KDECORE_LIBS} ) -INSTALL_TARGETS(/bin framelist ) +INSTALL(PROGRAMS framelist DESTINATION ${BIN_INSTALL_DIR}) ########### next target ############### @@ -68,9 +68,9 @@ KDE3_AUTOMOC(${strip-id3v1_SRCS}) FILE(WRITE dummy.cpp "//autogenerated file by cmake\n") ADD_EXECUTABLE(strip-id3v1 ${strip-id3v1_SRCS}) -TARGET_LINK_LIBRARIES(strip-id3v1 ${QT_AND_KDECORE_LIBS} ) +TARGET_LINK_LIBRARIES(strip-id3v1 tag ) -INSTALL_TARGETS(/bin strip-id3v1 ) +INSTALL(PROGRAMS strip-id3v1 DESTINATION ${BIN_INSTALL_DIR}) ########### install files ############### -- 2.40.0