summaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri6
1 files changed, 4 insertions, 2 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index c01af7ab8..84e259941 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -144,8 +144,10 @@ link_pkgconfig: packagesExist(libiconv): PKGCONFIG += libiconv
# Before Marble 4.9, the GeoDataTreeModel.h header wasn't installed
# Check if it's present by trying to compile
# ### FIXME: implement that
-win32: CONFIG(debug, debug|release): LIBS += -lmarblewidgetd
-else: LIBS += -lmarblewidget
+!contains(DEFINES, NO_MARBLE) {
+ win32: CONFIG(debug, debug|release): LIBS += -lmarblewidgetd
+ else: LIBS += -lmarblewidget
+}
libgit21-api {
DEFINES += USE_LIBGIT21_API