summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-11-23 21:03:15 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-01-14 15:46:35 +0000
commit27c07d859a9704bab78b989297b2d9ce5629aeef (patch)
tree17afce16d71ea734b3d842225a2b53e85f0ccfbb /config.tests
parent825f7fe1d80583fe70c1616e1d3973cc3dc65e7b (diff)
centralize + fix use of system assimp
follow the foo.pri & foo_dependency.pri pattern found in qtbase to de-duplicate the code (and thus implicitly make it consistent) and synchronize the conditionals in the configure test. also document why we still can't enable the assimp sceneparser in all configurations. Change-Id: I3bdc30e077b6c9c7027a9311195c08a6c5f1fcf4 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/assimp/assimp.pro6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.tests/assimp/assimp.pro b/config.tests/assimp/assimp.pro
index 5f022ced4..920c451c4 100644
--- a/config.tests/assimp/assimp.pro
+++ b/config.tests/assimp/assimp.pro
@@ -1,8 +1,8 @@
SOURCES += main.cpp
-LIBS += -lassimp
-
-unix {
+unix:!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig
PKGCONFIG += assimp
+} else {
+ LIBS += -lassimp
}