summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Linke <Christian.Linke@bmw.de>2016-02-26 15:29:28 +0100
committerChristian Linke <Christian.Linke@bmw.de>2016-02-26 15:36:27 +0100
commit6dfc4665743e61d1e4dbed634c41265dbbdeba77 (patch)
treed703d18c5dfb289829eff5dddd6bcafbb4b9004d
parent4104e1192f23c38ae7763cde145da8eeb2d93b06 (diff)
downloadaudiomanager-6dfc4665743e61d1e4dbed634c41265dbbdeba77.tar.gz
fix paths for cross build
-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@)