diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-12-02 15:04:21 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-02 18:31:36 -0800 |
commit | a1cd2306255a3a3bdcd47ffd11af884df7ed331c (patch) | |
tree | 5855a9a739b245a14d1c5d4fb2b40f60d0d4d31d /subsurface-configure.pri | |
parent | fabdb6b65ca32180330434953079e3dc806a97d6 (diff) | |
download | subsurface-a1cd2306255a3a3bdcd47ffd11af884df7ed331c.tar.gz |
Ubuntu packaging: include static libmarblewidget
Still all Qt4 based. Baby steps.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r-- | subsurface-configure.pri | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri index 4c55c8b67..5f8be2ba4 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -156,11 +156,19 @@ contains(QMAKE_PLATFORM, android): DEFINES += NO_MARBLE NO_USERMANUAL NO_PRINTIN !isEmpty(LIBMARBLEDEVEL) { # find it next to our sources INCLUDEPATH += $$LIBMARBLEDEVEL/include - LIBS += -L$$LIBMARBLEDEVEL/lib + isEmpty(LIBMARBLESTATIC) { + LIBS += -L$$LIBMARBLEDEVEL/lib + } } !contains(DEFINES, NO_MARBLE) { win32: CONFIG(debug, debug|release): LIBS += -lmarblewidgetd - else: LIBS += -lmarblewidget + else: { + isEmpty(LIBMARBLESTATIC) { + LIBS += -lmarblewidget + } else { + LIBS += $$LIBMARBLEDEVEL/src/lib/marble/libmarblewidget.a + } + } } libgit21-api { |