aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-09-20 12:57:59 +0000
committerLaurent Montel <montel@kde.org>2006-09-20 12:57:59 +0000
commitd3d4061adce4724571239c3b92d75a52919a1f74 (patch)
tree35a6bca02295e2a260a59f9e0c13e92da13ae9a6 /examples
parente3cf99c87a6109186daabba3640d67a08f4fab02 (diff)
Fix CMakefiles
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586716 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt18
1 files 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 ###############