From f075fd03390c3d3e8627685d72407bd43bcb37f9 Mon Sep 17 00:00:00 2001 From: Stephen Sinclair Date: Tue, 22 Aug 2017 20:27:51 -0300 Subject: [PATCH] Add CMake install targets Closes #86 --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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) -- 2.30.2