Help: note that CMAKE_SYSTEM_NAME is not set in script mode

Fixes #17109.
This commit is contained in:
Kyle Edwards
2018-01-03 16:55:25 -05:00
parent 64b624f118
commit edebf6f31a

View File

@@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^^^