viewer: leverage mapnik-config --cxx for QMAKE_CXX and QMAKE_LINK

This commit is contained in:
Dane Springmeyer 2013-09-18 12:32:08 -07:00
parent 2ecef415cd
commit 580ad4fb07

View file

@ -3,7 +3,8 @@
###################################################################### ######################################################################
TEMPLATE = app TEMPLATE = app
QT += core gui widgets QT += core gui widgets
QMAKE_CXX = clang++ QMAKE_CXX = $$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) QMAKE_CXXFLAGS += $$system(mapnik-config --includes --dep-includes)
QMAKE_LFLAGS += $$system(mapnik-config --libs) QMAKE_LFLAGS += $$system(mapnik-config --libs)