fix linking of viewer

This commit is contained in:
Jiri Drbalek 2017-10-09 11:35:24 +00:00
parent 8c7d7e25cd
commit 4952baf494

View file

@ -3,12 +3,12 @@
###################################################################### ######################################################################
TEMPLATE = app TEMPLATE = app
QT += core gui widgets QT += core gui widgets
LIBS += $$system(mapnik-config --libs --dep-libs)
QMAKE_CXX = $$system(mapnik-config --cxx) QMAKE_CXX = $$system(mapnik-config --cxx)
QMAKE_LINK = $$system(mapnik-config --cxx) QMAKE_LINK = $$system(mapnik-config --cxx)
QMAKE_CXXFLAGS += $$system(mapnik-config --cxxflags) QMAKE_CXXFLAGS += $$system(mapnik-config --cxxflags)
QMAKE_CXXFLAGS += $$system(mapnik-config --includes --dep-includes --defines) QMAKE_CXXFLAGS += $$system(mapnik-config --includes --dep-includes --defines)
QMAKE_LFLAGS += $$system(mapnik-config --libs) QMAKE_LFLAGS += $$system(mapnik-config --ldflags)
QMAKE_LFLAGS += $$system(mapnik-config --ldflags --dep-libs)
# Input # Input
CONFIG += qt debug_and_release CONFIG += qt debug_and_release