Commit 225d5f96 authored by Valentin Blot's avatar Valentin Blot

build: restore support for modem gps locations

Macros GCLUE_USE_3G_SOURCE, GCLUE_USE_CDMA_SOURCE,
GCLUE_USE_MODEM_GPS_SOURCE and GCLUE_USE_NMEA_SOURCE are not defined
anymore since the move to meson build system, therefore location through
modem gps is unavailable. This commit adds the macro definitions when the
corresponding options are enabled.
parent c9f4dc72
Pipeline #7723 passed with stage
in 6 minutes and 24 seconds
......@@ -30,6 +30,10 @@ conf.set_quoted('PACKAGE_BUGREPORT', 'http://bugs.freedesktop.org/enter_bug.cgi?
conf.set_quoted('TEST_SRCDIR', meson.source_root() + '/data/')
conf.set_quoted('LOCALEDIR', localedir)
conf.set_quoted('SYSCONFDIR', sysconfdir)
conf.set10('GCLUE_USE_3G_SOURCE', get_option('3g-source'))
conf.set10('GCLUE_USE_CDMA_SOURCE', get_option('cdma-source'))
conf.set10('GCLUE_USE_MODEM_GPS_SOURCE', get_option('modem-gps-source'))
conf.set10('GCLUE_USE_NMEA_SOURCE', get_option('nmea-source'))
configure_file(output: 'config.h', configuration : conf)
configinc = include_directories('.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment