diff options
author | jkoan <jkoan@gmx.de> | 2020-08-14 21:01:14 +0200 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2020-11-18 15:57:09 +0100 |
commit | 6a3c215157ae1fb1ba05744cbf97ac6f0fab3c5c (patch) | |
tree | 23f28ba434610e3e9b7f9c2d231bee16033d3f33 /CMakeLists.txt | |
parent | 310570bacdd06319f6a38246902aedd986ecc8ce (diff) | |
download | navit-6a3c215157ae1fb1ba05744cbf97ac6f0fab3c5c.tar.gz |
add:vehicle:Add first Prototype of the geoclue Plugin
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 24be236e4..fcf82f978 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,6 +106,7 @@ add_module(graphics/qt5 "Qt5 libraries not found" FALSE) add_module(gui/qml "Qt Declarative not found" FALSE) add_module(gui/qt5_qml "Qt5 Declarative not found" FALSE) add_module(gui/gtk "GTK libs not found" FALSE) +add_module(vehicle/geoclue "geoclue lib not found" FALSE) add_module(vehicle/gpsd "gpsd lib not found" FALSE) add_module(vehicle/gypsy "gypsy lib not found" FALSE) add_module(vehicle/maemo "Default" FALSE) @@ -197,6 +198,13 @@ if(PKG_CONFIG_FOUND) if(IMLIB2_FOUND) set(HAVE_IMLIB2 1) endif(IMLIB2_FOUND) + + # Geoclue + pkg_check_modules ( GeoClue libgeoclue-2.0 ) + if(GeoClue_FOUND) + include_directories(${GeoClue_INCLUDE_DIRS}) + set_with_reason(vehicle/geoclue "libgeoclue found" TRUE ${GeoClue_INCLUDE_DIRS}) + endif(GeoClue_FOUND) else(PKG_CONFIG_FOUND) set_with_reason(support/glib "Glib not found" TRUE ${INTL_LIBS}) endif(PKG_CONFIG_FOUND) |