From ab2bdbaf31e308031ae56b31b48cf6da091566cf Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" Date: Wed, 4 May 2022 15:10:20 +0200 Subject: Help: Cross-reference ENV operator from cmake-language(7) manual --- Help/manual/cmake-language.7.rst | 3 ++- Help/variable/ENV.rst | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst index 595f114..02cfa7e 100644 --- a/Help/manual/cmake-language.7.rst +++ b/Help/manual/cmake-language.7.rst @@ -582,7 +582,8 @@ Scope They are never cached. References - `Variable References`_ have the form ``$ENV{}``. + `Variable References`_ have the form ``$ENV{}``, using the + :variable:`ENV` operator. Initialization Initial values of the CMake environment variables are those of diff --git a/Help/variable/ENV.rst b/Help/variable/ENV.rst index 2b43934..6791853 100644 --- a/Help/variable/ENV.rst +++ b/Help/variable/ENV.rst @@ -8,5 +8,6 @@ Use the syntax ``$ENV{VAR}`` to read environment variable ``VAR``. To test whether an environment variable is defined, use the signature ``if(DEFINED ENV{})`` of the :command:`if` command. -See the :command:`set` and :command:`unset` commands to see how to -write or remove environment variables. +For general information on environment variables, see the +:ref:`Environment Variables ` +section in the :manual:`cmake-language(7)` manual. -- cgit v0.12