Browse Source

Add CMake install targets

Closes #86
tags/5.0.0
Stephen Sinclair 7 years ago
parent
commit
f075fd0339
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      CMakeLists.txt

+ 12
- 0
CMakeLists.txt View File

@@ -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)

Loading…
Cancel
Save