]> granicus.if.org Git - taglib/commitdiff
Fix CMakefiles
authorLaurent Montel <montel@kde.org>
Wed, 20 Sep 2006 12:57:59 +0000 (12:57 +0000)
committerLaurent Montel <montel@kde.org>
Wed, 20 Sep 2006 12:57:59 +0000 (12:57 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586716 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

examples/CMakeLists.txt

index 9b8f7c7ecdbd09732a4c93812b28f22f7b1fc1fc..3e91a97937ebe901e8d1d6ec326e81ce67428c12 100644 (file)
@@ -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 ###############