mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmake_host_system_information: Make it available for all systems
Before it was Linux only.
This commit is contained in:
@@ -132,9 +132,6 @@ queried. The list of queried values is stored in ``<variable>``.
|
||||
|
||||
See :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`
|
||||
|
||||
For Linux distributions additional ``<key>`` values are available to get operating
|
||||
system identification as described in the `man 5 os-release`_.
|
||||
|
||||
``DISTRIB_INFO``
|
||||
.. versionadded:: 3.22
|
||||
|
||||
@@ -144,7 +141,8 @@ system identification as described in the `man 5 os-release`_.
|
||||
``DISTRIB_<name>``
|
||||
.. versionadded:: 3.22
|
||||
|
||||
Get the ``<name>`` variable if it exists in the :file:`/etc/os-release` file
|
||||
Get the ``<name>`` variable (see `man 5 os-release`_) if it exists in the
|
||||
:file:`/etc/os-release` file
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user