diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-05-10 17:28:03 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-05-14 00:32:41 +0200 |
commit | 70a2e7f32b9f9ce19d1538f14fbde7b0d1e77ffd (patch) | |
tree | bcb07e49d8e1eb6d51132f4e556171bf18356b55 /src/corelib/time/qdatetime.h | |
parent | 7dd7ed141dcdde037b129398e0c1559d36e855cc (diff) |
CMake: Suppress package not found warnings in some FindWrap scripts
Some of our FindWrap scripts try to call find_package() once or more
to find a system package, and then fallback to a different source in
case if not found.
The side effect of this is that find_package() will append not found
packages to the global PACKAGES_NOT_FOUND property.
FeatureSummary feature_summary() will then list these as not found,
creating confusion.
For example while FindWrapSystemPCRE2 might be found, PCRE2 found will
be shown as not found, because we found the package via PkgConfig
instead of cmake Config file.
Manually remove these packages from the PACKAGES_NOT_FOUND property
in some of our Find scripts, to avoid the confusion.
Pick-to: 6.7
Fixes: QTBUG-96120
Task-number: QTBUG-96394
Task-number: QTBUG-111216
Change-Id: I4be825c810248202c34f446e3cebe66574d0531c
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/corelib/time/qdatetime.h')
0 files changed, 0 insertions, 0 deletions