diff options
| author | Niclas Rosenvik <nros@netbsd.org> | 2021-03-16 12:41:51 +0100 |
|---|---|---|
| committer | Niclas Rosenvik <nros@netbsd.org> | 2021-03-19 21:02:23 +0100 |
| commit | 83e222d8caf8fc54626bc66014c12d2af127cd5a (patch) | |
| tree | 2248131edcfb9cfc2662b82a9c5c7eb6287cba52 /src/sql/kernel/qsqlquery.cpp | |
| parent | e9e3c09f4b17e7663fe15d9f9a732015fe2a9aa7 (diff) | |
Properly set ICC and QCC
Using CMAKE_C_COMPILER to match the compiler
has its drawbacks. CMAKE_C_COMPILER can include
the whole path to the compiler and directory
names that incude icc, icl or qcc also match
even if the compiler is not icc or qcc.
Icc has the compiler id Intel according to
the CMake documentation.
The compiler id for qcc is QCC according to
CMake policy 0047, and this is set to new since
Qt requires CMake to be above 3.0.
Change-Id: Iceb428ed10f0f5bbaa19ec2d883da186c85e7a73
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions
