diff --git a/ground/openpilotgcs/src/libs/qwt/src/src.pro b/ground/openpilotgcs/src/libs/qwt/src/src.pro index 6123541e3..fcdf13f5f 100644 --- a/ground/openpilotgcs/src/libs/qwt/src/src.pro +++ b/ground/openpilotgcs/src/libs/qwt/src/src.pro @@ -19,8 +19,6 @@ include( $${QWT_ROOT}/qwtconfig.pri ) # include( $${QWT_ROOT}/qwtbuild.pri ) # include( $${QWT_ROOT}/qwtfunctions.pri ) -include(../../../openpilotgcslibrary.pri) - # QWT_OUT_ROOT = $${OUT_PWD}/.. TEMPLATE = lib @@ -31,6 +29,12 @@ DEFINES += QWT_LIBRARY # DESTDIR = $${QWT_OUT_ROOT}/lib +# NOTE: The include below must come AFTER the TARGET is +# defined. Otherwise the debug version of the library +# will not have the 'd' suffix it needs. +# +include(../../../openpilotgcslibrary.pri) + contains(QWT_CONFIG, QwtDll) { CONFIG += dll