summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-01-03 21:55:25 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-01-08 16:04:17 (GMT)
commitedebf6f31ad33d4b2d69eb7ccaf2de1e94abe5fb (patch)
tree7b16599efe73d90f92780883c2bbd7781a75d11f /Help
parent64b624f118ac4f86e4a1b799b3d2130b5065847b (diff)
downloadCMake-edebf6f31ad33d4b2d69eb7ccaf2de1e94abe5fb.zip
CMake-edebf6f31ad33d4b2d69eb7ccaf2de1e94abe5fb.tar.gz
CMake-edebf6f31ad33d4b2d69eb7ccaf2de1e94abe5fb.tar.bz2
Help: note that CMAKE_SYSTEM_NAME is not set in script mode
Fixes #17109.
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_SYSTEM_NAME.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_SYSTEM_NAME.rst b/Help/variable/CMAKE_SYSTEM_NAME.rst
index c3a42e5..fef53ee 100644
--- a/Help/variable/CMAKE_SYSTEM_NAME.rst
+++ b/Help/variable/CMAKE_SYSTEM_NAME.rst
@@ -4,6 +4,9 @@ CMAKE_SYSTEM_NAME
The name of the operating system for which CMake is to build.
See the :variable:`CMAKE_SYSTEM_VERSION` variable for the OS version.
+Note that ``CMAKE_SYSTEM_NAME`` is not set to anything by default when running
+in script mode, since it's not building anything.
+
System Name for Host Builds
^^^^^^^^^^^^^^^^^^^^^^^^^^^