Merge topic 'doc-cmake_host_system_information-OS_NAME'

ff11a95962 Help: Clarify cmake_host_system_information OS_NAME

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Nicole Mazzuca <nicole.mazzuca@remarkable.no>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !10232
This commit is contained in:
Brad King
2025-01-27 15:26:22 +00:00
committed by Kitware Robot

View File

@@ -129,7 +129,15 @@ queried. The list of queried values is stored in ``<variable>``.
``OS_NAME``
.. versionadded:: 3.10
See :variable:`CMAKE_HOST_SYSTEM_NAME`
The host operating system name:
* On UNIX platforms, this is ``uname -s``.
* On Apple platforms, this is ``sw_vers -productName``.
* On Windows, this is ``Windows``.
See also :variable:`CMAKE_HOST_SYSTEM_NAME`.
``OS_RELEASE``
.. versionadded:: 3.10