Merge branch 'master' of https://github.com/thestk/rtaudio
[rtaudio-cdist.git] / CMakeLists.txt
index 14b1787ff9e132acbbaaa04d7a1cab8d1d20cabd..995b0303e9732f95dfb146c2770197a887496a13 100644 (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.