Browse Source

automake: Fix rtaudio.pc prefix variable

tags/5.1.0
Stephen Sinclair 6 years ago
parent
commit
4a75d6db73
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CMakeLists.txt
  2. +1
    -1
      rtaudio.pc.in

+ 1
- 0
CMakeLists.txt View File

@@ -257,6 +257,7 @@ message(STATUS "Compiling with support for: ${apilist}")
# PkgConfig file
string(REPLACE ";" " " req "${PKGCONFIG_REQUIRES}")
string(REPLACE ";" " " api "${API_DEFS}")
set(prefix ${CMAKE_INSTALL_PREFIX})
configure_file("rtaudio.pc.in" "rtaudio.pc" @ONLY)

# Add install rule.


+ 1
- 1
rtaudio.pc.in View File

@@ -1,4 +1,4 @@
prefix=@CMAKE_INSTALL_PREFIX@
prefix=@prefix@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/rtaudio


Loading…
Cancel
Save