summaryrefslogtreecommitdiff
path: root/gnss-service/test/compliance-test/CMakeLists.txt
diff options
context:
space:
mode:
authorasanoaozora <fifitaneki@hotmail.com>2017-02-09 16:05:16 +0100
committerasanoaozora <fifitaneki@hotmail.com>2017-02-09 16:05:16 +0100
commit57345f36fa6095ecb6d7f7998a06abafbcd90a87 (patch)
tree7d8004dafb727f312189007eae462fb487a81724 /gnss-service/test/compliance-test/CMakeLists.txt
parent43c37bba55cd2ffdbd4aec5f1a5583446c12190a (diff)
downloadpositioning-57345f36fa6095ecb6d7f7998a06abafbcd90a87.tar.gz
refine CMakeLists.txt to allow DLT build, tests OK
Diffstat (limited to 'gnss-service/test/compliance-test/CMakeLists.txt')
-rw-r--r--gnss-service/test/compliance-test/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnss-service/test/compliance-test/CMakeLists.txt b/gnss-service/test/compliance-test/CMakeLists.txt
index 3e30b7c..1a8699b 100644
--- a/gnss-service/test/compliance-test/CMakeLists.txt
+++ b/gnss-service/test/compliance-test/CMakeLists.txt
@@ -48,8 +48,7 @@ endif()
if(WITH_DLT)
add_definitions("-DDLT_ENABLED=1")
- set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}")
- find_package(DLT REQUIRED)
+ pkg_check_modules(DLT REQUIRED automotive-dlt)
include_directories( ${DLT_INCLUDE_DIRS} )
set(LIBRARIES ${LIBRARIES} ${DLT_LIBRARIES})
endif()