summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoni Poikelin <joni.poikelin@qt.io>2020-11-24 18:11:14 +0200
committerJoni Poikelin <joni.poikelin@qt.io>2020-11-27 14:42:18 +0000
commitc6716fa7f044985389038802a296bae83951b119 (patch)
treed2404bed27115e674945529e1f3513a925e2f86e
parent6df7098d89cf4a2eec35fe1362d354c91eb7a4ef (diff)
Allow assimp to compile on non-gcc compilers
Gcc 4 version check can also be dropped since it is not supported anymore. Fixes: QTBUG-88821 Pick-to: 5.15 6.0 Change-Id: Ice522afc92823156e9545e8e75b16c2c0a614d6f Reviewed-by: Mike Krus <mike.krus@kdab.com>
-rw-r--r--src/plugins/sceneparsers/sceneparsers.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sceneparsers/sceneparsers.pro b/src/plugins/sceneparsers/sceneparsers.pro
index f2b09f7ea..573a5ddad 100644
--- a/src/plugins/sceneparsers/sceneparsers.pro
+++ b/src/plugins/sceneparsers/sceneparsers.pro
@@ -2,7 +2,7 @@ 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
-!ios:!tvos:!qcc:qtConfig(qt3d-assimp):if(qtConfig(qt3d-system-assimp)|android-clang|clang|win32-msvc):if(gcc:greaterThan(QT_GCC_MAJOR_VERSION, 4)) {
+!ios:!tvos:!qcc:qtConfig(qt3d-assimp):if(qtConfig(qt3d-system-assimp)|android-clang|clang|win32-msvc|gcc) {
SUBDIRS += assimp
}
SUBDIRS += gltf