Brad King
0a81110b84
find_(library|file|path): Drop PATH-derived search prefixes
...
Since commit ffc06c1239 (Teach find_(library|file|path) to get prefixes
from PATH, 2015-02-18, v3.3.0-rc1~430^2) we search in `<prefix>/include`
and `<prefix>/lib` directories for prefixes with `bin` directories in
the `PATH` environment variable. The motivation was to search the
installation prefixes of MSYS and MinGW development environments
automatically.
This behavior can search undesired prefixes that happen to be in the
`PATH` for unrelated reasons. It was reverted for non-Windows hosts
within a year by commit b30b32a493 (Drop find_(library|file|path)
prefixes from PATH on non-Windows, 2016-05-09, v3.6.0-rc1~82^2) but was
kept on Windows hosts to support its motivating use case. However,
similar problems have since been observed on Windows. For example,
commit 955d6245c1 (MSVC: Revert "Teach find_library to consider the
'libfoo.a' naming convention", 2022-11-28, v3.25.1~6^2) was primarily
due to undesired discovery of libraries in `PATH`-derived prefixes.
Since commit 5e5132e1b1 (MinGW: Search for packages in standard MSYSTEM
environment prefixes, 2023-09-11) we search MSYS and MinGW environments'
prefixes explicitly, so `PATH`-derived prefixes are no longer needed for
the original motivating use case.
Fixes : #24216
2023-09-14 15:13:50 -04:00
..
2022-12-13 16:54:56 +01:00
2023-03-31 11:30:51 -04:00
2023-08-07 18:10:56 -04:00
2023-07-19 10:45:33 -04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-18 14:09:32 -05:00
2023-03-31 11:30:51 -04:00
2022-12-17 20:51:25 +11:00
2023-02-15 16:23:35 -05:00
2019-03-27 16:01:20 +01:00
2023-09-01 21:28:56 +10:00
2018-10-23 15:12:10 +02:00
2022-10-20 11:21:40 -04:00
2022-11-09 23:52:30 +04:00
2023-06-05 06:20:50 -04:00
2023-09-10 07:33:47 -04:00
2023-03-06 09:52:12 -05:00
2023-08-19 09:03:53 -04:00
2022-11-09 23:52:30 +04:00
2022-11-07 22:55:07 +04:00
2023-09-01 21:28:56 +10:00
2023-05-22 12:46:04 -04:00
2022-11-08 00:05:55 +11:00
2018-10-25 13:47:31 +02:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2023-08-19 09:03:53 -04:00
2022-11-09 23:52:30 +04:00
2018-10-23 15:12:10 +02:00
2018-10-23 15:12:10 +02:00
2023-06-22 13:12:24 -04:00
2019-03-07 11:58:22 +01:00
2022-08-22 16:25:53 +02:00
2018-10-23 15:12:10 +02:00
2018-10-23 15:12:10 +02:00
2018-10-23 15:12:10 +02:00
2018-10-23 15:12:10 +02:00
2018-10-23 15:12:10 +02:00
2023-07-25 11:09:56 -04:00
2023-02-06 09:47:52 -05:00
2022-11-09 23:52:30 +04:00
2023-07-18 11:11:14 -04:00
2023-07-20 17:02:58 -04:00
2023-09-14 15:13:50 -04:00
2023-09-14 15:13:50 -04:00
2023-05-01 15:12:23 +02:00
2023-09-14 15:13:50 -04:00
2023-09-14 15:13:50 -04:00
2013-10-16 09:22:38 -04:00
2022-08-30 15:11:09 -04:00
2015-06-08 15:52:21 -04:00
2023-09-14 15:13:50 -04:00
2018-10-25 13:47:31 +02:00
2022-11-07 22:55:06 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2023-03-15 10:53:25 -04:00
2023-08-11 10:50:52 -04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2023-08-11 10:50:52 -04:00
2023-09-08 10:26:34 -04:00
2023-05-22 16:51:15 -04:00
2020-11-09 20:51:57 +05:00
2022-11-18 14:09:32 -05:00
2018-10-25 13:47:31 +02:00
2018-10-23 15:12:10 +02:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2023-08-03 12:49:53 -04:00
2022-11-09 23:52:30 +04:00
2018-10-25 13:47:31 +02:00
2021-05-15 16:31:16 +10:00
2023-06-28 07:51:37 -04:00
2019-11-01 10:00:28 -04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2020-11-12 09:44:01 +05:00
2023-02-14 13:33:31 -05:00
2023-01-18 11:37:11 -05:00
2022-07-05 11:05:54 -04:00
2021-05-15 16:31:16 +10:00
2022-11-09 23:52:30 +04:00
2023-06-22 13:12:24 -04:00
2019-01-16 08:08:38 +11:00
2019-01-16 08:08:38 +11:00
2018-10-25 13:47:31 +02:00
2022-11-09 23:52:30 +04:00
2022-11-18 14:09:32 -05:00
2023-02-17 08:45:01 -05:00
2022-11-09 23:52:30 +04:00
2023-08-10 17:36:14 -04:00
2022-11-09 23:52:30 +04:00
2023-06-26 12:47:26 -04:00
2023-08-11 10:50:52 -04:00
2023-09-01 21:28:56 +10:00
2020-10-22 10:20:43 -04:00
2021-06-23 17:24:09 +02:00
2023-05-03 04:41:53 -04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2023-01-20 13:55:38 -05:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2023-03-31 11:30:51 -04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2023-07-26 17:00:01 -04:00
2023-03-31 11:30:51 -04:00
2023-08-02 13:43:53 -04:00
2023-05-31 10:57:11 -04:00
2023-08-16 10:05:53 -04:00
2023-08-16 10:06:31 -04:00
2023-03-24 14:44:45 -04:00
2023-03-24 14:44:45 -04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2022-11-09 23:52:30 +04:00
2020-07-09 17:22:59 +02:00
2022-11-07 22:55:06 +04:00
2022-11-09 23:52:30 +04:00