summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStephen Sinclair <radarsat1@gmail.com>2018-08-15 15:25:06 -0300
committerStephen Sinclair <radarsat1@gmail.com>2018-08-15 15:25:06 -0300
commit4a75d6db73f71ee52d4170e4ff988093e496cd7e (patch)
tree9cb2cf41b6039e270bbbf97f566b3406edffc8e4 /CMakeLists.txt
parentbe6a6c266b4acdb948ea401f2b1ccb7c4e7a107e (diff)
automake: Fix rtaudio.pc prefix variable
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e4060a..2ce3b4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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.