diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2017-02-09 16:05:16 +0100 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2017-02-09 16:05:16 +0100 |
commit | 57345f36fa6095ecb6d7f7998a06abafbcd90a87 (patch) | |
tree | 7d8004dafb727f312189007eae462fb487a81724 /logger/test | |
parent | 43c37bba55cd2ffdbd4aec5f1a5583446c12190a (diff) | |
download | positioning-57345f36fa6095ecb6d7f7998a06abafbcd90a87.tar.gz |
refine CMakeLists.txt to allow DLT build, tests OK
Diffstat (limited to 'logger/test')
-rw-r--r-- | logger/test/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logger/test/CMakeLists.txt b/logger/test/CMakeLists.txt index eea7f5a..280b0aa 100644 --- a/logger/test/CMakeLists.txt +++ b/logger/test/CMakeLists.txt @@ -38,7 +38,7 @@ set(LIBRARIES pthread poslog) if(WITH_DLT) set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}") - find_package(DLT REQUIRED) + pkg_check_modules(DLT REQUIRED automotive-dlt) add_definitions("-DDLT_ENABLED=1") include_directories( ${DLT_INCLUDE_DIRS} ) set(LIBRARIES ${LIBRARIES} ${DLT_LIBRARIES}) @@ -99,7 +99,7 @@ include_directories( if(WITH_DLT) set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}") - find_package(DLT REQUIRED) + pkg_check_modules(DLT REQUIRED automotive-dlt) add_definitions("-DDLT_ENABLED=1") include_directories( ${DLT_INCLUDE_DIRS} ) set(LIBRARIES ${LIBRARIES} ${DLT_LIBRARIES}) |