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 ###############