commit 95b19c31589f315e2ef5e943d25aaf7e9c5a84e8 parent 24014bae578c93315f17f3f5c81574979cc19005 Author: Lars Luthman <lars.luthman@gmail.com> Date: Thu, 4 Mar 2010 16:38:24 +0100 Added install targets to the CMake build system Diffstat:
M | CMakeLists.txt | | | 4 | ++++ |
M | src/CMakeLists.txt | | | 3 | +++ |
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -5,3 +5,7 @@ project(zynaddsubfx) enable_testing() #Currently the only directory that uses cmake add_subdirectory(src) + +install(FILES AUTHORS.txt COPYING FAQ.txt HISTORY.txt README.txt + DESTINATION share/doc/zynaddsubfx + ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -210,3 +210,6 @@ target_link_libraries(zynaddsubfx ${MIDIINPUT_LIBRARIES} ) +install(TARGETS zynaddsubfx + RUNTIME DESTINATION bin + )