From 94c6295db1c7ae759b466d4fb06f25b889ac888b Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 22 Oct 2020 10:20:08 -0400 Subject: Help: Document site_name command use of HOSTNAME variable --- Help/command/site_name.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Help/command/site_name.rst b/Help/command/site_name.rst index 1bcaead..09b5a9f 100644 --- a/Help/command/site_name.rst +++ b/Help/command/site_name.rst @@ -6,3 +6,7 @@ Set the given variable to the name of the computer. .. code-block:: cmake site_name(variable) + +On UNIX-like platforms, if the variable ``HOSTNAME`` is set, its value +will be executed as a command expected to print out the host name, +much like the ``hostname`` command-line tool. -- cgit v0.12