summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2018-08-06 10:16:23 +0200
committerMike Krus <mike.krus@kdab.com>2018-08-13 19:31:24 +0000
commit93b70cca9674535c30bdeefccc76029162c565d3 (patch)
tree1ba54e249f27d8c05eecc297536946b80996d650 /src
parent752ee8daabdeeb43ae97c0eb6dce397305704c6a (diff)
Allow to build assimp sceneparser on Android when using clang
Which should be all Android builds since gcc has been deprecated in favor of clang in the NDK. Also disable building of tools when cross compiling Change-Id: Idb3f88130bf211926f7dd4ce52ac6582d806570d Task-number: QTBUG-65542 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/sceneparsers/sceneparsers.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/sceneparsers/sceneparsers.pro b/src/plugins/sceneparsers/sceneparsers.pro
index cb274b472..e4b421606 100644
--- a/src/plugins/sceneparsers/sceneparsers.pro
+++ b/src/plugins/sceneparsers/sceneparsers.pro
@@ -2,8 +2,9 @@ TEMPLATE = subdirs
# QNX is not supported, and Linux GCC 4.9 on ARM chokes on the assimp
# sources (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66964).
QT_FOR_CONFIG += 3dcore-private
-qtConfig(assimp):if(qtConfig(system-assimp)|!cross_compile): \
+qtConfig(assimp):if(qtConfig(system-assimp)|android-clang|!cross_compile): {
SUBDIRS += assimp
+}
SUBDIRS += gltf
qtConfig(temporaryfile):qtConfig(regularexpression) {