summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-09 14:35:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-09 14:35:46 (GMT)
commit2cd2dd9cdefa283cdf42008c9b8e6116b6f78ec3 (patch)
treeaa9704df7e031acdc536cfec74b97a9c40b0202b
parent947d6de8339d13422aa2c0b018b125f07c1003d3 (diff)
parentedebf6f31ad33d4b2d69eb7ccaf2de1e94abe5fb (diff)
downloadCMake-2cd2dd9cdefa283cdf42008c9b8e6116b6f78ec3.zip
CMake-2cd2dd9cdefa283cdf42008c9b8e6116b6f78ec3.tar.gz
CMake-2cd2dd9cdefa283cdf42008c9b8e6116b6f78ec3.tar.bz2
Merge topic 'doc-CMAKE_SYSTEM_NAME-mode'
edebf6f3 Help: note that CMAKE_SYSTEM_NAME is not set in script mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1639
-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
^^^^^^^^^^^^^^^^^^^^^^^^^^^