diff options
| author | bejuryu <bejuryu@gmail.com> | 2017-10-16 19:00:42 +0900 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2017-10-18 09:59:46 -0300 |
| commit | 021df8fa72a6de902add48fd7ff87017a7f89775 (patch) | |
| tree | be47aae27bec2c90871fa3244f08baf8e4130182 | |
| parent | 3fe493c52507a8a38796b5cca8d8546a49cdd4af (diff) | |
fixed cmake install error : rtaudio.pc error
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 54f8816..1ea5252 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,6 +125,8 @@ if (BUILD_TESTING) add_subdirectory(tests) endif (BUILD_TESTING) +configure_file("rtaudio.pc.in" "rtaudio.pc" @ONLY) + install(TARGETS rtaudio LIBRARY DESTINATION lib ARCHIVE DESTINATION lib @@ -135,5 +137,5 @@ install( DESTINATION include) install( - FILES rtaudio.pc + FILES ${CMAKE_CURRENT_BINARY_DIR}/rtaudio.pc DESTINATION lib/pkgconfig) |
