summaryrefslogtreecommitdiffstats
path: root/Help/command/site_name.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/site_name.rst')
-rw-r--r--Help/command/site_name.rst4
1 files changed, 4 insertions, 0 deletions
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.