diff --git a/lib/lib.pri b/lib/lib.pri index 44e8766bc..dfa3d61a6 100644 --- a/lib/lib.pri +++ b/lib/lib.pri @@ -1,6 +1,9 @@ # no manual edits - this file is autogenerated by dmake include($$PWD/pcrerules.pri) +BASEPATH = ../externals/tinyxml/ +include($$PWD/../externals/tinyxml/tinyxml.pri) +BASEPATH = ../lib/ INCLUDEPATH += ../externals/tinyxml HEADERS += $${BASEPATH}check.h \ $${BASEPATH}check64bit.h \ diff --git a/tools/dmake.cpp b/tools/dmake.cpp index 47841b3b8..c42fc4c68 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -175,6 +175,9 @@ int main(int argc, char **argv) if (fout1.is_open()) { fout1 << "# no manual edits - this file is autogenerated by dmake\n\n"; fout1 << "include($$PWD/pcrerules.pri)\n"; + fout1 << "BASEPATH = ../externals/tinyxml/\n"; + fout1 << "include($$PWD/../externals/tinyxml/tinyxml.pri)\n"; + fout1 << "BASEPATH = ../lib/\n"; fout1 << "INCLUDEPATH += ../externals/tinyxml\n"; fout1 << "HEADERS += $${BASEPATH}check.h \\\n"; for (unsigned int i = 0; i < libfiles.size(); ++i) {