diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2017-02-06 14:49:34 +0100 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2017-02-06 14:49:34 +0100 |
commit | f9a22630a2b330af43a9c15b296d0cd7beec029a (patch) | |
tree | 1e296ac07dc18988b59ab18af122e55c78e1fedc /enhanced-position-service/dbus | |
parent | a538ee2b2f024787ad188e840a9935dba37fe4c8 (diff) | |
download | positioning-f9a22630a2b330af43a9c15b296d0cd7beec029a.tar.gz |
update .cmake files and fix error into .gitignore
Diffstat (limited to 'enhanced-position-service/dbus')
-rw-r--r-- | enhanced-position-service/dbus/FindDLT.cmake | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/enhanced-position-service/dbus/FindDLT.cmake b/enhanced-position-service/dbus/FindDLT.cmake new file mode 100644 index 0000000..8fedea1 --- /dev/null +++ b/enhanced-position-service/dbus/FindDLT.cmake @@ -0,0 +1,30 @@ +########################################################################### +# @licence app begin@ +# SPDX-License-Identifier: MPL-2.0 +# +# Component Name: EnhancedPositionService +# +# Author: Marco Residori +# +# Copyright (C) 2014, XS Embedded GmbH +# +# License: +# This Source Code Form is subject to the terms of the +# Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with +# this file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# @licence end@ +########################################################################### + +set(DLT_INCLUDE_DIRS /usr/local/include/dlt) +set(DLT_LIBRARIES dlt) +set(DLT_LIBRARY_DIRS /usr/local/lib) + +find_package(PkgConfig) +pkg_check_modules(DLT REQUIRED automotive-dlt) + +if(${DLT_FOUND}) + #message(STATUS "found and use automotive-dlt: version ${DLT_VERSION}") +else() + message("missing DLT - check with 'pkg-config automotive-dlt --cflags-only-I'") +endif() |