]> granicus.if.org Git - taglib/commitdiff
Install examples if built.
authorMichael Palimaka <kensington@gentoo.org>
Tue, 15 May 2012 18:37:25 +0000 (04:37 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Tue, 15 May 2012 18:37:25 +0000 (04:37 +1000)
examples/CMakeLists.txt

index 17d4bd6bc8a693ab2da147a18b8cd3270b3cd9a6..22f03d880c7359479d08188065139f9d8c2992ce 100644 (file)
@@ -45,6 +45,12 @@ ADD_EXECUTABLE(strip-id3v1 strip-id3v1.cpp)
 
 TARGET_LINK_LIBRARIES(strip-id3v1  tag )
 
+INSTALL(TARGETS
+       tagreader tagreader_c tagwriter framelist strip-id3v1
+       LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+       RUNTIME DESTINATION ${BIN_INSTALL_DIR}
+       ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+)
 
 endif(BUILD_EXAMPLES)