viewer: leverage mapnik-config --cxx for QMAKE_CXX and QMAKE_LINK
This commit is contained in:
parent
2ecef415cd
commit
580ad4fb07
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
######################################################################
|
||||
TEMPLATE = app
|
||||
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 --includes --dep-includes)
|
||||
QMAKE_LFLAGS += $$system(mapnik-config --libs)
|
||||
|
|
Loading…
Reference in a new issue