Merge branch 'mapycz-fix-viewer-linking'

This commit is contained in:
Artem Pavlenko 2017-10-09 16:06:33 +02:00
commit cdd8b35112

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