Use pkgconfig for bulletphysics

Change-Id: I684fe8b5abb03a44aed49819d3bad96cc11188cf
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
Paul Lemire 2014-08-19 18:13:19 +02:00 committed by Sean Harmer
parent 672b3e4729
commit 98de3a1eca
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
SOURCES += main.cpp
LIBS += -lBulletDynamics -lBulletCollision -lLinearMath
unix {
CONFIG += link_pkgconfig
PKGCONFIG += bullet
}

View File

@ -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