mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-07-29 18:07:16 +02:00
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:
@ -1,3 +0,0 @@
|
|||||||
TOP_SRCDIR=$$PWD
|
|
||||||
TOP_BUILDDIR=$$shadowed($$PWD)
|
|
||||||
|
|
@ -5,7 +5,7 @@ CONFIG -= app_bundle
|
|||||||
|
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
DEFINES += MSGPACK_MAKE_LIB
|
DEFINES += MSGPACK_MAKE_LIB
|
||||||
DESTDIR = $$TOP_SRCDIR/bin
|
DESTDIR = $$PWD/../bin
|
||||||
QMAKE_CXXFLAGS += -fPIC
|
QMAKE_CXXFLAGS += -fPIC
|
||||||
|
|
||||||
CONFIG += debug_and_release
|
CONFIG += debug_and_release
|
||||||
|
Reference in New Issue
Block a user