Robert Maynard
87a661a916
find_package: Fix regression on <PackageName>_ROOT relative to CWD
...
In commit 9d44a77454 (find_*: Explicitly normalize found paths as they
exist on disk, 2024-10-17, v4.0.0-rc1~597^2~1), we removed path
normalization from the internal `cmSearchPath::AddPathInternal` helper.
Most call sites were updated to normalize input paths first, but search
paths derived from `<PackageName>_ROOT` CMake variables are no longer
normalized. Instead we normalize the path to the file found after
searching.
When `find_package` "config" mode considers a candidate CMake package
configuration file, normalize its path before loading the adjacent
package version file so that the latter is loaded by absolute path.
Otherwise `cmMakefile::ReadDependentFile` interprets a relative path
with respect to the current source directory rather than the current
working directory.
Fixes : #27279
2025-10-02 15:30:13 -04:00
..
2022-04-29 22:00:02 +02:00
2022-04-29 22:00:02 +02:00
2025-05-09 16:46:43 +02:00
2024-08-02 16:18:44 -04:00
2022-04-29 22:00:02 +02:00
2022-04-29 22:00:02 +02:00
2021-10-20 18:50:41 +02:00
2022-02-10 16:30:10 -05:00
2023-09-13 08:35:59 -04:00
2022-03-10 12:44:36 -05:00
2025-04-12 09:38:12 -04:00
2022-08-04 09:41:59 -04:00
2021-05-27 15:18:37 -04:00
2020-09-23 12:52:25 +02:00
2024-10-03 11:52:22 -04:00
2025-01-22 10:40:53 -05:00
2021-06-30 10:07:42 -04:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-23 09:15:14 -05:00
2023-02-28 08:43:45 -05:00
2023-02-28 08:43:45 -05:00
2023-02-28 08:43:45 -05:00
2023-02-28 08:43:45 -05:00
2023-02-28 08:43:45 -05:00
2023-03-09 07:39:36 -05:00
2023-03-09 07:39:36 -05:00
2023-03-09 07:39:36 -05:00
2023-03-09 07:39:36 -05:00
2023-03-09 07:39:36 -05:00
2023-03-12 07:52:15 -04:00
2023-03-12 07:52:15 -04:00
2023-03-12 07:52:15 -04:00
2023-03-12 07:52:15 -04:00
2023-03-12 07:52:15 -04:00
2023-03-12 07:52:15 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -04:00
2023-03-30 12:05:09 -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
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-04-02 10:16:40 -04:00
2025-06-09 12:24:31 -04:00
2025-05-09 16:46:43 +02:00
2025-05-09 16:46:43 +02:00
2025-06-09 12:24:31 -04:00
2025-05-09 16:46:43 +02:00
2025-05-09 16:46:43 +02:00
2025-06-09 12:24:31 -04:00
2025-05-09 16:46:43 +02:00
2025-05-09 16:46:43 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-06-11 20:09:32 +02:00
2025-06-11 20:09:32 +02:00
2025-06-11 20:09:32 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-06-11 20:09:32 +02:00
2025-06-11 20:09:32 +02:00
2025-06-11 20:09:32 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-06-11 20:09:32 +02:00
2025-06-11 20:09:32 +02:00
2025-06-11 20:09:32 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2025-06-10 20:01:12 +02:00
2024-08-02 16:18:44 -04:00
2024-08-02 16:18:44 -04:00
2024-12-19 09:58:02 -05:00
2020-09-29 13:06:09 +02:00
2020-09-29 13:06:09 +02:00
2020-09-29 13:06:09 +02:00
2025-04-02 10:16:40 -04:00
2022-04-29 22:00:02 +02:00
2021-10-20 18:50:41 +02:00
2020-09-29 13:06:09 +02:00
2022-05-03 16:48:11 +10:00
2022-02-10 16:30:04 -05:00
2022-05-03 16:48:11 +10:00
2021-12-17 08:55:21 -05:00
2022-02-10 16:30:04 -05:00
2022-03-10 12:44:36 -05:00
2022-03-10 12:44:36 -05:00
2022-04-15 09:33:55 -04:00
2022-01-31 10:33:54 -05:00
2022-02-02 11:09:00 -05:00
2021-12-17 08:55:21 -05:00
2021-12-17 08:55:21 -05:00
2021-07-08 08:03:38 -04:00
2025-02-27 10:51:07 -05:00
2021-07-08 08:03:38 -04:00
2022-05-03 16:48:11 +10:00
2022-02-10 16:30:10 -05:00
2023-09-13 08:35:59 -04:00
2023-09-13 08:35:59 -04:00
2025-01-22 10:40:53 -05:00
2025-01-22 10:40:53 -05: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-02-27 10:51:07 -05: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
2022-04-29 22:00:02 +02:00
2022-04-29 22:00:02 +02:00
2022-04-29 22:00:02 +02:00
2024-11-27 08:30:15 -05:00
2022-04-29 22:00:02 +02:00
2022-04-29 22:00:02 +02:00
2022-04-29 22:00:02 +02:00
2024-11-27 08:30:15 -05:00
2022-04-29 22:00:02 +02:00
2024-10-10 09:31:52 -04:00
2022-04-29 22:00:02 +02: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
2021-07-08 08:03:38 -04:00
2021-07-08 08:03:38 -04:00
2021-07-08 08:03:38 -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-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-02 15:30:13 -04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-08-04 09:41:59 -04:00
2022-08-04 09:41:59 -04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2022-07-11 17:14:01 +04:00
2020-09-29 13:06:09 +02:00
2020-09-29 13:06:09 +02:00
2020-09-29 13:06:09 +02:00
2020-09-29 13:06:09 +02:00
2020-09-23 12:52:25 +02:00
2021-05-27 15:18:37 -04:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00
2020-09-23 12:52:25 +02:00