diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-17 10:49:44 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-17 16:57:25 +0000 |
commit | 2fa23e46c0b79a065d92a95033bfc3ae10b707cf (patch) | |
tree | ab13778363b9719fbf6bb055608ae88fcd614642 /src/corelib/tools/qmap.h | |
parent | 4df389eb4f1ae10284c03023e923ce2164d46753 (diff) |
Fix C++ standard detection
We cannot use a generator expression in an if statement, it does not
work. Instead, we could inspect the CMAKE_C/CXX_COMPILE_FEATURES list,
but unfortunately that's not reliable. For example it detects that ICPC
supports C++17 when in fact that depends on the installed libstdc++.
Therefore this patch revives our own configure tests.
Change-Id: Ic3bc5762fbe81837722523e3881ac16e84628519
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/tools/qmap.h')
0 files changed, 0 insertions, 0 deletions