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 ###############
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 ###############
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 ###############
TARGET_LINK_LIBRARIES(framelist ${QT_AND_KDECORE_LIBS} )
-INSTALL_TARGETS(/bin framelist )
+INSTALL(PROGRAMS framelist DESTINATION ${BIN_INSTALL_DIR})
########### next target ###############
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 ###############