Browse Source

fixed cmake install error : rtaudio.pc error

tags/5.1.0
bejuryu Stephen Sinclair 8 years ago
parent
commit
021df8fa72
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      CMakeLists.txt

+ 3
- 1
CMakeLists.txt View File

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

Loading…
Cancel
Save