diff options
author | Martin Storsjö <martin@martin.st> | 2020-11-03 16:37:00 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-11-04 06:38:35 +0200 |
commit | 3e13fd43df6208aca3c4d5e94a8aa9f0d255ff85 (patch) | |
tree | b0005faa9b183cd721524cf7110c2bba3fbdad91 /src/corelib/global/qglobal.h | |
parent | 6f8df4dac0caf49a61d6a1d7d2476dc28327eb12 (diff) |
cmake: Always add -Wno-ignored-attributes for clang targeting windows
This matches how it is in the qmake mkspec, silencing a lot of
warnings - but contrary to when building with qmake, it's only
applied when building Qt itself. For external projects built with
cmake, the Qt headers are included with -isystem, which silences any
warnings from those headers.
Change-Id: I1a498d3c2715cb73e647668cb7226ceeffb7ff0b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/global/qglobal.h')
0 files changed, 0 insertions, 0 deletions