diff --git a/demo/viewer/viewer.pro b/demo/viewer/viewer.pro index aad00b424..d5cf3ee46 100644 --- a/demo/viewer/viewer.pro +++ b/demo/viewer/viewer.pro @@ -3,12 +3,12 @@ ###################################################################### TEMPLATE = app QT += core gui widgets +LIBS += $$system(mapnik-config --libs --dep-libs) 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 --defines) -QMAKE_LFLAGS += $$system(mapnik-config --libs) -QMAKE_LFLAGS += $$system(mapnik-config --ldflags --dep-libs) +QMAKE_LFLAGS += $$system(mapnik-config --ldflags) # Input CONFIG += qt debug_and_release