summaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri14
1 files changed, 5 insertions, 9 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 5f8be2ba4..d2092d3ac 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -156,18 +156,14 @@ contains(QMAKE_PLATFORM, android): DEFINES += NO_MARBLE NO_USERMANUAL NO_PRINTIN
!isEmpty(LIBMARBLEDEVEL) {
# find it next to our sources
INCLUDEPATH += $$LIBMARBLEDEVEL/include
- isEmpty(LIBMARBLESTATIC) {
- LIBS += -L$$LIBMARBLEDEVEL/lib
- }
+ LIBS += -L$$LIBMARBLEDEVEL/lib
}
!contains(DEFINES, NO_MARBLE) {
win32: CONFIG(debug, debug|release): LIBS += -lmarblewidgetd
- else: {
- isEmpty(LIBMARBLESTATIC) {
- LIBS += -lmarblewidget
- } else {
- LIBS += $$LIBMARBLEDEVEL/src/lib/marble/libmarblewidget.a
- }
+ else: !isEmpty(SPECIAL_MARBLE_PREFIX) {
+ LIBS += -L$$LIBMARBLEDEVEL/src/lib/marble -lssrfmarblewidget
+ } else {
+ LIBS += -lmarblewidget
}
}