diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-02-14 14:52:04 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-02-15 15:12:12 +0100 |
commit | 545400addd7935c87ec79596ac3010b4f9016a84 (patch) | |
tree | 69c12bcdc71f38aa84373b36df037abce442e657 /src/widgets/doc/snippets/code | |
parent | b34bea5e96370986ea5dfc499fc2ec6366fda627 (diff) | |
download | qtbase-545400addd7935c87ec79596ac3010b4f9016a84.tar.gz |
Add the NO_CMAKE_PACKAGE_REGISTRY option forwarding to qt_find_package
Allow forwarding the NO_CMAKE_PACKAGE_REGISTRY option to the
find_package call from qt_find_package.
When we look for host tool packages the package dependencies are
recorded in the cmake package registry. This leads to the situation
when the lookup retry will use the package that is already found in
host path instead of looking the right one in target paths.
Adding the 'NO_CMAKE_PACKAGE_REGISTRY' to the qt_find_package calls
suppresses records in cmake package registry and starts a clean search
using target paths.
Task-number: QTBUG-111140
Pick-to: 6.5
Change-Id: I97ce1755b2f8e3413f1b0276fe26568b2f5efe33
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions