summaryrefslogtreecommitdiffstats
path: root/Help/command/set.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/set.rst')
-rw-r--r--Help/command/set.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Help/command/set.rst b/Help/command/set.rst
index e37e693..dd5ea13 100644
--- a/Help/command/set.rst
+++ b/Help/command/set.rst
@@ -88,4 +88,10 @@ Set Environment Variable
set(ENV{<variable>} <value>...)
-Sets the current process environment ``<variable>`` to the given value.
+Sets an :manual:`Environment Variable <cmake-env-variables(7)>`
+to the given value.
+Subsequent calls of ``$ENV{<variable>}`` will return this new value.
+
+This command affects only the current CMake process, not the process
+from which CMake was called, nor the system environment at large,
+nor the environment of subsequent build or test processes.