diff options
author | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2016-10-25 21:13:39 +0200 |
---|---|---|
committer | Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org> | 2016-11-14 01:12:24 -0800 |
commit | fcbee1b981b9f53430f03d414f6e17d489453fe6 (patch) | |
tree | 38db1aa0524e0b4c8e0bbb419ff435537e7faff1 /cmake/AudioManagerUtilitiesConfig.cmake.in | |
parent | ad257b5ae132799723ae81f35d82cc3b11e51c54 (diff) | |
download | audiomanager-fcbee1b981b9f53430f03d414f6e17d489453fe6.tar.gz |
AudioManagerUtilities: use LINK_DIRECTORIES
The -L flags were not retrieved from pkg_check_modules, except
for automotive-dlt, where LDFLAGS was added to the LIBS variable,
which was then passed to TARGET_LINK_LIBRARIES.
This led to compile-time errors when compiling in a custom
prefix.
We also propagate the LIB_DIRECTORIES and use them in
AmControlInterfaceTest and AudioManagerDaemon.
Diffstat (limited to 'cmake/AudioManagerUtilitiesConfig.cmake.in')
-rw-r--r-- | cmake/AudioManagerUtilitiesConfig.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/AudioManagerUtilitiesConfig.cmake.in b/cmake/AudioManagerUtilitiesConfig.cmake.in index 471ddd6..acca825 100644 --- a/cmake/AudioManagerUtilitiesConfig.cmake.in +++ b/cmake/AudioManagerUtilitiesConfig.cmake.in @@ -44,6 +44,7 @@ endif(WITH_DLT) set(AudioManagerUtilities_INCLUDE_DIRS ${AudioManagerUtilities_INCLUDE_DIRS} ${AUDIOMANAGER_UTILITIES_EXTERNAL_INCLUDE}) set(AudioManagerUtilities_LIBRARIES @AUDIO_MANAGER_UTILITIES_LIBS@ ${AudioManagerUtilities_LIBRARY}) +set(AudioManagerUtilities_LIB_DIRECTORIES @AUDIOMANAGER_UTILITIES_LIB_DIRECTORIES@) set(DAEMONVERSION "@DAEMONVERSION@") set(AUDIOMANAGER_CMAKE_CXX_FLAGS "@AUDIOMANAGER_CMAKE_CXX_FLAGS@") set(WITH_SHARED_UTILITIES "@WITH_SHARED_UTILITIES@") |