diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-08-02 14:22:54 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-08-03 18:38:52 +0200 |
| commit | effd6f63f1a4b7dc7b5e6bca41594f1d1562a713 (patch) | |
| tree | 7ed76dd827fc265c54e56258fdd1a0318a56465d /src/opengl/qopenglcompositor.cpp | |
| parent | 41c4f9a47ad8fdd3d7ee645b6fa821ad416b2b43 (diff) | |
CMake: Fix single standalone tests to use same Qt C++ language std
When using qt-cmake-standalone-test, we didn't tell CMake to use the
same C++ language standard that Qt used when it was configured.
We did tell CMake to do that when configuring tests with
qt-internal-configure-tests via the qt_build_tests macro.
To ensure the proper standard is set, we also need to
find_package(Qt6Core), because the std flag is derived from the
QT_FEATURE_cxxyz flag which is set by Core.
Change-Id: Ia41f2a24983ddab0107a6446743f7b054df8c033
Pick-to: 6.2 6.3 6.4
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/opengl/qopenglcompositor.cpp')
0 files changed, 0 insertions, 0 deletions
