summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/AudioManagerConfig.cmake.in2
-rw-r--r--cmake/AudioManagerCoreConfig.cmake.in4
-rw-r--r--cmake/AudioManagerUtilitiesConfig.cmake.in4
3 files changed, 5 insertions, 5 deletions
diff --git a/cmake/AudioManagerConfig.cmake.in b/cmake/AudioManagerConfig.cmake.in
index 2668767..a079fef 100644
--- a/cmake/AudioManagerConfig.cmake.in
+++ b/cmake/AudioManagerConfig.cmake.in
@@ -1,6 +1,6 @@
@PACKAGE_INIT@
-set_and_check(AudioManager_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include/@LIB_INSTALL_SUFFIX@)
+set_and_check(AudioManager_INCLUDE_DIRS ${PACKAGE_PREFIX_DIR}/include/audiomanager)
set(DAEMONVERSION "@DAEMONVERSION@")
set(TEST_EXECUTABLE_INSTALL_PATH "@TEST_EXECUTABLE_INSTALL_PATH@")
diff --git a/cmake/AudioManagerCoreConfig.cmake.in b/cmake/AudioManagerCoreConfig.cmake.in
index f07cdef..b7fe6f9 100644
--- a/cmake/AudioManagerCoreConfig.cmake.in
+++ b/cmake/AudioManagerCoreConfig.cmake.in
@@ -1,7 +1,7 @@
@PACKAGE_INIT@
-set_and_check(AudioManagerCore_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include/@LIB_INSTALL_SUFFIX@/AudioManagerCore)
-find_library(AudioManagerCore_LIBRARIES NAMES AudioManagerCore HINTS ${@CMAKE_INSTALL_PREFIX@/lib})
+set_and_check(AudioManagerCore_INCLUDE_DIRS ${PACKAGE_PREFIX_DIR}/include/@LIB_INSTALL_SUFFIX@/AudioManagerCore)
+find_library(AudioManagerCore_LIBRARIES NAMES AudioManagerCore HINTS ${PACKAGE_PREFIX_DIR}/lib)
set(DAEMONVERSION "@DAEMONVERSION@")
set(CMAKE_CXX_FLAGS "@CMAKE_CXX_FLAGS@")
diff --git a/cmake/AudioManagerUtilitiesConfig.cmake.in b/cmake/AudioManagerUtilitiesConfig.cmake.in
index 37a1fbd..86b7f61 100644
--- a/cmake/AudioManagerUtilitiesConfig.cmake.in
+++ b/cmake/AudioManagerUtilitiesConfig.cmake.in
@@ -1,7 +1,7 @@
@PACKAGE_INIT@
-set_and_check(AudioManagerUtilities_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include/@LIB_INSTALL_SUFFIX@/AudioManagerUtilities)
-find_library(AudioManagerUtilities_LIBRARY NAMES AudioManagerUtilities HINTS ${@CMAKE_INSTALL_PREFIX@/lib})
+set_and_check(AudioManagerUtilities_INCLUDE_DIRS ${PACKAGE_PREFIX_DIR}/include/@LIB_INSTALL_SUFFIX@/AudioManagerUtilities)
+find_library(AudioManagerUtilities_LIBRARY NAMES AudioManagerUtilities HINTS ${PACKAGE_PREFIX_DIR}/lib})
set(AudioManagerUtilities_INCLUDE_DIRS ${AudioManagerUtilities_INCLUDE_DIRS} @AUDIOMANAGER_UTILITIES_EXTERNAL_INCLUDE@)