From 245a8af7784783b13eda88db3e9729ba661936c3 Mon Sep 17 00:00:00 2001 From: David Faure <faure@kde.org> Date: Thu, 12 Oct 2006 10:50:45 +0000 Subject: [PATCH] fix make install - I guess examples shouldn't actually be installed (I see that Makefile.am required "make examples" explicitly) git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@594795 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- examples/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2abd51d8..79ba9708 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -17,7 +17,7 @@ ADD_EXECUTABLE(tagreader ${tagreader_SRCS}) TARGET_LINK_LIBRARIES(tagreader tag ) -INSTALL(PROGRAMS tagreader DESTINATION ${BIN_INSTALL_DIR} ) +#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/tagreader DESTINATION ${BIN_INSTALL_DIR} ) ########### next target ############### @@ -31,7 +31,7 @@ ADD_EXECUTABLE(tagreader_c ${tagreader_c_SRCS}) TARGET_LINK_LIBRARIES(tagreader_c tag_c ) -INSTALL(PROGRAMS tagreader_c DESTINATION ${BIN_INSTALL_DIR}) +#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/tagreader_c DESTINATION ${BIN_INSTALL_DIR}) ########### next target ############### @@ -45,7 +45,7 @@ ADD_EXECUTABLE(tagwriter ${tagwriter_SRCS}) TARGET_LINK_LIBRARIES(tagwriter tag ) -INSTALL(PROGRAMS tagwriter DESTINATION ${BIN_INSTALL_DIR}) +#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/tagwriter DESTINATION ${BIN_INSTALL_DIR}) ########### next target ############### @@ -59,7 +59,7 @@ ADD_EXECUTABLE(framelist ${framelist_SRCS}) TARGET_LINK_LIBRARIES(framelist tag ) -INSTALL(PROGRAMS framelist DESTINATION ${BIN_INSTALL_DIR}) +#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/framelist DESTINATION ${BIN_INSTALL_DIR}) ########### next target ############### @@ -71,7 +71,7 @@ ADD_EXECUTABLE(strip-id3v1 ${strip-id3v1_SRCS}) TARGET_LINK_LIBRARIES(strip-id3v1 tag ) -INSTALL(PROGRAMS strip-id3v1 DESTINATION ${BIN_INSTALL_DIR}) +#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/strip-id3v1 DESTINATION ${BIN_INSTALL_DIR}) endif(BUILD_TESTS) -- 2.40.0