cmake_host_system_information: Add MSYSTEM_PREFIX query

Add a query on Windows hosts for the installation prefix of a
MSYS or MinGW development environment.

Issue: #24216
This commit is contained in:
Brad King
2023-09-08 20:06:13 -04:00
parent cdcff0a0f0
commit 84a25fc263
13 changed files with 146 additions and 0 deletions

View File

@@ -146,6 +146,13 @@ queried. The list of queried values is stored in ``<variable>``.
See :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`
``MSYSTEM_PREFIX``
.. versionadded:: 3.28
Available only on Windows hosts. In a MSYS or MinGW development
environment that sets the ``MSYSTEM`` environment variable, this
is its installation prefix. Otherwise, this is the empty string.
``DISTRIB_INFO``
.. versionadded:: 3.22