Files
CMake/Source
Matthew Woehlke 6c2fc502b6 find_package: Report why a candidate was rejected
Improve how find_package reports the list of candidate package
configuration files that were considered but rejected to include a
reason for rejection. For CPS in particular, this allows the user to
tell if a CPS file was rejected due to a version mismatch, missing
required components, or because the file could not be read.

While we do not try to report more detail for why cmPackageInfoReader
rejected a file, the possible reasons are usually easy enough to
distinguish:

- The file is so malformed that we cannot read a JSON object.
- The schema version is not a version that CMake understands.
- The root object does not contain a string named "name".
- The root object does not contain an object named "components".
- Prefix resolution failed.

Three of these can only result from a file that fails schema validation.
2025-11-05 10:45:23 -05:00
..
2025-09-24 19:30:27 +02:00
2025-10-30 09:03:07 -04:00
2025-08-26 14:29:01 -07:00
2025-08-01 09:56:00 -04:00
2025-10-07 09:29:18 -04:00
2025-08-26 14:29:01 -07:00
2025-08-27 10:53:27 -04:00
2025-08-26 14:29:01 -07:00
2025-08-26 14:29:01 -07:00
2025-07-30 10:11:36 -04:00
2025-07-30 10:11:36 -04:00
2025-08-26 14:29:01 -07:00
2025-10-02 10:46:02 -04:00
2025-10-02 10:46:02 -04:00