From edebf6f31ad33d4b2d69eb7ccaf2de1e94abe5fb Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 3 Jan 2018 16:55:25 -0500 Subject: Help: note that CMAKE_SYSTEM_NAME is not set in script mode Fixes #17109. --- Help/variable/CMAKE_SYSTEM_NAME.rst | 3 +++ 1 file changed, 3 insertions(+) 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit v0.12