diff options
Diffstat (limited to 'AudioManagerDaemon/test/AmRouterMapTest/CMakeLists.txt')
-rw-r--r-- | AudioManagerDaemon/test/AmRouterMapTest/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/AudioManagerDaemon/test/AmRouterMapTest/CMakeLists.txt b/AudioManagerDaemon/test/AmRouterMapTest/CMakeLists.txt index f538741..720ef64 100644 --- a/AudioManagerDaemon/test/AmRouterMapTest/CMakeLists.txt +++ b/AudioManagerDaemon/test/AmRouterMapTest/CMakeLists.txt @@ -26,6 +26,13 @@ set (AM_LINK_LIBS AudioManagerUtilities rt) +IF (WITH_CAPI_WRAPPER) + set (AM_LINK_LIBS + ${AM_LINK_LIBS} + -Wl,--as-needed CommonAPI + ) +ENDIF (WITH_CAPI_WRAPPER) + if(WITH_DLT) pkg_check_modules(DLT REQUIRED automotive-dlt>=2.2.0) set (AM_LINK_LIBS |