diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-24 12:03:58 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-26 14:48:27 +0200 |
commit | 841f05fae6c0fc164d09d4ca995eb2d596e73cc7 (patch) | |
tree | 863175c35c01dd46e36577ae79448fca91bd4162 /cmake/QtAutoDetect.cmake | |
parent | 7f6599428b19f2db7ef692c2301a895109c3a9b7 (diff) |
Avoid claiming F16C support on non-x86 platforms
The configuration tests might indicate the compiler supports F16C,
due to building the tests as x86. But in a multi arch situation,
such as when doing universal builds for x86_64 and arm64, we must
also verify that the current complication unit is building for x86.
Instead of adding Q_PROCESSOR_X86 checks to each call site that
checks for F16C, we sanitize the F16C support define as we do for
other CPU feature defines.
Change-Id: I9ef53c9d47690dddb0b1b82f77b0ebf74f3295bb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'cmake/QtAutoDetect.cmake')
0 files changed, 0 insertions, 0 deletions