summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2024-02-02 12:07:43 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-05 16:52:28 +0000
commit6125a1db35727cabc4b4e29a9708c0416bf5c8f8 (patch)
treeed596d36903adb285611f505cb67b261b87b92a1 /src/plugins
parent6934f7799c260d73b77db6f74880edd802600172 (diff)
CMake: Fix configuring a standalone test on Apple platforms
Configuring a test as standalone would fail with the following error: Invalid max SDK version: It should be a major version number, without minor This happened because _qt_internal_check_apple_sdk_and_xcode_versions expects QT_SUPPORTED_MAX_MACOS_SDK_VERSION to be available, but it is not yet set due to Qt6 package not being found yet. Avoid the issue by exporting the version requirements into both Qt6ConfigExtras.cmake and Qt6BuildInternalsConfigExtra.cmake. Make sure to assign the variables only once. Amends a29bff3d80219f54d0837b0e6e0577192011dea1 Amends a0bdd2195f24d8a7d880ba506afc16b41337218e Task-number: QTBUG-119490 Change-Id: Ic297eeaabf22c8c42ded1a766906f88fdb91fd3d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit cec2e42052a04cd2481c20bd4be5de2ba5ccaec2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit cfdffa17a545de73ae5419023a1c765f5b682fe0)
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions