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-05-09 16:46:43 +02:00
2024-08-02 16:18:44 -04:00
2025-04-12 09:38:12 -04:00
2025-07-13 16:08:19 -04:00
2024-10-03 11:52:22 -04:00
2025-01-22 10:40:53 -05:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-16 17:42:12 +03:00
2024-05-03 10:30:23 -04:00
2024-05-03 10:30:23 -04:00
2024-05-03 10:30:23 -04:00
2024-05-03 10:30:23 -04:00
2024-05-03 10:30:23 -04:00
2025-02-17 11:35:25 -05:00
2025-02-17 11:35:25 -05:00
2025-02-17 11:35:25 -05:00
2025-02-17 11:35:25 -05:00
2025-02-17 11:35:25 -05:00
2025-03-27 09:48:49 -04:00
2025-03-27 09:48:49 -04:00
2025-03-27 09:48:49 -04:00
2025-03-27 09:48:49 -04:00
2025-03-27 09:48:49 -04:00
2025-04-02 10:16:40 -04:00
2025-04-02 10:16:40 -04:00
2025-10-20 14:45:24 -04:00
2025-04-02 10:16:40 -04:00
2025-11-05 10:45:23 -05:00
2025-10-20 14:45:24 -04:00
2025-06-18 06:34:59 +02:00
2025-06-09 12:24:31 -04:00
2025-10-20 14:45:24 -04:00
2025-05-09 16:46:43 +02:00
2025-06-09 12:24:31 -04:00
2025-10-20 14:45:24 -04:00
2025-05-09 16:46:43 +02:00
2025-10-16 17:42:12 +03:00
2025-10-20 14:45:24 -04:00
2025-06-10 20:01:12 +02:00
2025-10-16 17:42:12 +03:00
2025-10-20 14:45:24 -04:00
2025-06-11 20:09:32 +02:00
2025-10-16 17:42:12 +03:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-10-16 17:42:12 +03:00
2025-06-11 20:09:32 +02:00
2025-06-11 20:09:32 +02:00
2025-10-16 17:42:12 +03:00
2025-10-20 14:45:24 -04:00
2025-06-10 20:01:12 +02:00
2025-10-16 17:42:12 +03:00
2025-10-20 14:45:24 -04:00
2025-06-11 20:09:32 +02:00
2025-10-16 17:42:12 +03:00
2025-10-20 14:45:24 -04:00
2025-06-10 20:01:12 +02:00
2025-10-20 14:45:24 -04:00
2024-08-02 16:18:44 -04:00
2024-12-19 09:58:02 -05:00
2025-10-20 14:45:24 -04:00
2025-04-02 10:16:40 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-01-22 10:40:53 -05:00
2025-10-20 14:45:24 -04:00
2025-01-22 10:40:53 -05:00
2025-10-20 14:45:24 -04:00
2025-01-22 10:40:53 -05:00
2025-10-02 15:30:13 -04:00
2025-10-02 15:30:13 -04:00
2025-02-27 10:51:07 -05:00
2025-10-20 14:45:24 -04:00
2025-02-27 10:51:07 -05:00
2025-04-12 09:40:37 -04:00
2025-04-12 09:38:12 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-16 17:42:12 +03:00
2025-10-16 17:42:12 +03:00
2024-10-10 09:31:52 -04:00
2025-02-27 10:51:07 -05:00
2025-10-16 17:42:12 +03:00
2025-02-27 10:51:07 -05:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-02-27 10:51:07 -05:00
2025-02-27 10:51:07 -05:00
2025-02-27 10:51:07 -05:00
2025-10-20 14:45:24 -04:00
2025-02-27 10:51:07 -05:00
2025-10-03 11:12:07 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-10-20 14:45:24 -04:00
2025-07-13 16:08:19 -04:00
2025-10-20 14:45:24 -04:00
2025-07-13 16:08:19 -04:00
2025-07-13 16:08:19 -04:00
2025-10-20 14:45:24 -04:00
2025-07-13 16:08:19 -04:00
2025-07-13 16:08:19 -04:00
2025-10-20 14:45:24 -04:00
2025-07-13 16:08:19 -04:00
2025-07-13 16:08:19 -04:00
2025-10-20 14:45:24 -04:00
2025-07-13 16:08:19 -04:00
2025-07-13 16:08:19 -04:00
2025-10-20 14:45:24 -04:00
2025-07-13 16:08:19 -04:00
2025-10-20 14:45:24 -04:00
2025-07-13 16:08:19 -04:00
2025-10-20 14:45:24 -04:00
2025-11-05 10:45:23 -05:00
2025-11-05 10:45:23 -05:00
2025-10-16 17:42:12 +03:00