summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2024-10-14 16:12:31 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2024-10-19 21:18:10 +0200
commit515ad07a12c4bf190545ae38eff588f7b979d68e (patch)
tree8e44ac254bd7c406fd46dd92141daade9d239d38 /src/corelib/thread/qthreadpool.cpp
parent6c6a63cc8f49918d1059910644bcfaa4554b12f1 (diff)
CMake: Guard some MSVC flags not understood by clang-cl frontend
Due to various reasons, Qt WebEngine needs to be built with clang-cl, while qtbase and other dependencies with MSVC. clang-cl does not understand all MSVC-style options, which are recorded and propagated through the PlatformCommonInternal target which is configured in qtbase using MSVC. Guard the flags that are not understood by clang-cl with a genex condition that checks that the compiler is not clang (which implies clang-cl, because afaik it's not possible to use gcc frontend of clang against an MSVC-built qtbase). Pick-to: 6.8 Change-Id: Ibf2c96399a8322ce13814c9c6afa5b57fd8885be Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Zhao Yuhang <2546789017@qq.com> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
0 files changed, 0 insertions, 0 deletions