summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsonoro1234 <sonoro@telefonica.net>2018-06-03 16:59:55 +0200
committerStephen Sinclair <radarsat1@users.noreply.github.com>2018-06-07 17:13:34 +0200
commit8f4579a2f8a66e222c0b1f5a2727feff379c93d3 (patch)
treec45ce5f87cc3d04d75232adae8729c2129ec5521 /CMakeLists.txt
parent4a7ca4f1d42fff04eb085d85a3b298df2c937a34 (diff)
avoid cmake error: "install Library TARGETS given no DESTINATION!"
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d5a00c7..1563091 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,7 +129,9 @@ endif (BUILD_TESTING)
configure_file("rtaudio.pc.in" "rtaudio.pc" @ONLY)
install(TARGETS rtaudio
- LIBRARY DESTINATION lib)
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+ RUNTIME DESTINATION bin)
install(TARGETS rtaudio_static
ARCHIVE DESTINATION lib)