From ff11a95962cd81b042c37235ea3901042680eafd Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 24 Jan 2025 10:58:35 -0500 Subject: [PATCH] Help: Clarify cmake_host_system_information OS_NAME Fixes: #26631 --- Help/command/cmake_host_system_information.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Help/command/cmake_host_system_information.rst b/Help/command/cmake_host_system_information.rst index 0d2f75e12f..be8aeba43d 100644 --- a/Help/command/cmake_host_system_information.rst +++ b/Help/command/cmake_host_system_information.rst @@ -129,7 +129,15 @@ queried. The list of queried values is stored in ````. ``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