summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-10-25 15:55:07 +0200
committerLars Knoll <lars.knoll@qt.io>2016-10-28 11:01:38 +0000
commit2ab01d2813c8823877019ea41349d037e5c29024 (patch)
tree328baf5a54bf6d665107c9effe3a73b5bba695b9 /src/3rdparty
parent6e8e228852f0930638b0e0272509809a0fb9ab42 (diff)
Convert qt3d to the new configure system
Remove some duplicated code between the assimp test and assimp_dependency.pri and do all pkg-config related tests during config time. Change-Id: If97c4cf53cd0356e7ee4e618a8d645ea697b3dfc Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/assimp/assimp_dependency.pri11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/3rdparty/assimp/assimp_dependency.pri b/src/3rdparty/assimp/assimp_dependency.pri
index f1a109f10..8ba2d9a41 100644
--- a/src/3rdparty/assimp/assimp_dependency.pri
+++ b/src/3rdparty/assimp/assimp_dependency.pri
@@ -1,11 +1,6 @@
-config_assimp:!if(cross_compile:host_build) {
- unix:qtConfig(pkg-config) {
- CONFIG += link_pkgconfig
- PKGCONFIG_PRIVATE += assimp
- } else {
- LIBS += -lassimp
- }
- return()
+QT_FOR_CONFIG += 3dcore-private
+qtConfig(system-assimp):!if(cross_compile:host_build) {
+ QMAKE_USE_PRIVATE += assimp
} else {
include(assimp.pri)
}