mirror of https://github.com/qt/qt3d.git
Use pkgconfig for bulletphysics
Change-Id: I684fe8b5abb03a44aed49819d3bad96cc11188cf Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
672b3e4729
commit
98de3a1eca
|
@ -1,3 +1,8 @@
|
|||
SOURCES += main.cpp
|
||||
|
||||
LIBS += -lBulletDynamics -lBulletCollision -lLinearMath
|
||||
|
||||
unix {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += bullet
|
||||
}
|
||||
|
|
|
@ -12,6 +12,11 @@ load(qt_module)
|
|||
|
||||
include(bulletphysics.pri)
|
||||
|
||||
unix {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += bullet
|
||||
}
|
||||
|
||||
gcov {
|
||||
CONFIG += static
|
||||
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
|
||||
|
|
Loading…
Reference in New Issue