diff options
author | Jacques GUILLOU <jacques.guillou@pelagicore.com> | 2014-12-18 18:50:10 +0100 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2015-02-17 14:34:00 +0100 |
commit | 9128298ecedb7bf0da45d8a6c3bd594dabee8fe3 (patch) | |
tree | c7d20adb8666f2692d11cc7d00a83778ff2805bf | |
parent | a725359494fbaa7598da4972784c3d30efeea34d (diff) | |
download | audiomanager-9128298ecedb7bf0da45d8a6c3bd594dabee8fe3.tar.gz |
Fix usage of DLT
-rwxr-xr-x | CMakeLists.txt | 5 | ||||
-rw-r--r-- | include/shared/CAmDltWrapper.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dec4a4e..c97d876 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -210,7 +210,10 @@ SET(DOXY_FILE ${CMAKE_CURRENT_BINARY_DIR}/DoxyFile) CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/AudioManagerDaemon/docx/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/DoxyFile ) IF(WITH_DLT) - pkg_check_modules(DLT REQUIRED automotive-dlt>=2.2.0) + pkg_check_modules(DLT REQUIRED automotive-dlt>=2.2.0) + add_definitions(${DLT_CFLAGS_OTHER}) + include_directories(${DLT_INCLUDE_DIRS}) + link_directories(${DLT_LIBRARY_DIRS}) ENDIF(WITH_DLT) IF(WITH_TESTS) diff --git a/include/shared/CAmDltWrapper.h b/include/shared/CAmDltWrapper.h index cc52faf..49cae31 100644 --- a/include/shared/CAmDltWrapper.h +++ b/include/shared/CAmDltWrapper.h @@ -26,7 +26,7 @@ #include "audiomanagertypes.h" #ifdef WITH_DLT -#include <dlt/dlt.h> +#include <dlt.h> namespace am { #else |