Fix build when including qmsgpack.pri from another project

presence of .qmake.conf file in an included sub-project
overrides the root project thus breaking the build
This commit is contained in:
Konstantin Ritt
2018-03-02 15:58:53 +03:00
parent a412eedf24
commit 5ca284052c
2 changed files with 1 additions and 4 deletions

View File

@ -1,3 +0,0 @@
TOP_SRCDIR=$$PWD
TOP_BUILDDIR=$$shadowed($$PWD)

View File

@ -5,7 +5,7 @@ CONFIG -= app_bundle
TEMPLATE = lib
DEFINES += MSGPACK_MAKE_LIB
DESTDIR = $$TOP_SRCDIR/bin
DESTDIR = $$PWD/../bin
QMAKE_CXXFLAGS += -fPIC
CONFIG += debug_and_release