Merge topic 'mingw-search-prefixes'

5e5132e1b1 MinGW: Search for packages in standard MSYSTEM environment prefixes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8796
This commit is contained in:
Brad King
2023-09-14 16:50:26 +00:00
committed by Kitware Robot
20 changed files with 75 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
mingw-search-prefixes
---------------------
* When using MinGW tools in a ``MSYSTEM`` environment on Windows,
the ``$MSYSTEM_PREFIX/local`` and ``$MSYSTEM_PREFIX`` prefixes are
now added to :variable:`CMAKE_SYSTEM_PREFIX_PATH`.

View File

@@ -38,6 +38,12 @@ OpenBSD:
Unix:
* ``ENV{CONDA_PREFIX}`` when using a conda compiler
MSYSTEM environment with MinGW toolchain:
.. versionadded:: 3.28
* ``ENV{MSYSTEM_PREFIX}/local``
* ``ENV{MSYSTEM_PREFIX}``
Windows:
* ``ENV{ProgramW6432}``
* ``ENV{ProgramFiles}``