From: Stephen Sinclair Date: Tue, 22 Aug 2017 23:27:51 +0000 (-0300) Subject: Add CMake install targets X-Git-Tag: 5.0.0~14 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=f075fd03390c3d3e8627685d72407bd43bcb37f9;p=rtaudio.git Add CMake install targets Closes #86 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9117e40..812d4d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,3 +125,15 @@ if (BUILD_TESTING) add_subdirectory(tests) endif (BUILD_TESTING) +install(TARGETS rtaudio + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + RUNTIME DESTINATION bin) + +install( + FILES RtAudio.h + DESTINATION include) + +install( + FILES rtaudio.pc + DESTINATION lib/pkgconfig)