diff options
| author | Stephen Sinclair <radarsat1@gmail.com> | 2017-08-22 20:27:51 -0300 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2017-08-22 20:27:54 -0300 |
| commit | f075fd03390c3d3e8627685d72407bd43bcb37f9 (patch) | |
| tree | 66c6497cbbf4179cb8a2d90d3837d416950042e1 | |
| parent | 8feb1dab32cad4bdaf772fb8b5eced0f33e92750 (diff) | |
Add CMake install targets
Closes #86
| -rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
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) |
