summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
Diffstat (limited to 'app/app.pro')
-rw-r--r--app/app.pro12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/app.pro b/app/app.pro
index 9965675..da5d28b 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -26,8 +26,16 @@ SOURCES += main.cpp \
RESOURCES += \
navigation.qrc \
- images/images.qrc \
- mapbox/mapbox.qrc
+ images/images.qrc
+
+ENABLE_OSM = $$ENABLE_OSM
+
+equals(ENABLE_OSM, 1) {
+ DEFINES += ENABLE_OSM
+ RESOURCES += openstreetmaps/openstreetmaps.qrc
+} else {
+ RESOURCES += mapbox/mapbox.qrc
+}
LIBS += $$OUT_PWD/../dbus_interface/libdbus_interface.a
INCLUDEPATH += $$OUT_PWD/../dbus_interface