projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe493c
)
fixed cmake install error : rtaudio.pc error
author
bejuryu
<bejuryu@gmail.com>
Mon, 16 Oct 2017 10:00:42 +0000
(19:00 +0900)
committer
Stephen Sinclair
<radarsat1@gmail.com>
Wed, 18 Oct 2017 12:59:46 +0000
(09:59 -0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 54f8816966122093393af3ae5afe7cc059c4c069..1ea5252c6c4194082455ee8839821c6f691bf441 100644
(file)
--- 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)