summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-05-15 05:26:01 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-05-15 05:26:01 (GMT)
commitb00a171b2b07d1644eba5c34a8679c6bb368cda7 (patch)
tree18bdaa496b01e91b527607c1b8850a49799838fb /Help/variable
parent639a6bd4c75740d339c8d28f5aba758a0fe11664 (diff)
downloadCMake-b00a171b2b07d1644eba5c34a8679c6bb368cda7.zip
CMake-b00a171b2b07d1644eba5c34a8679c6bb368cda7.tar.gz
CMake-b00a171b2b07d1644eba5c34a8679c6bb368cda7.tar.bz2
Help: Clarify calling cmake_minimum_required() inside a function
Fixes: #21519
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst b/Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst
index f466468..8d6b533 100644
--- a/Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst
+++ b/Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst
@@ -2,4 +2,5 @@ CMAKE_MINIMUM_REQUIRED_VERSION
------------------------------
The ``<min>`` version of CMake given to the most recent call to the
-:command:`cmake_minimum_required(VERSION)` command.
+:command:`cmake_minimum_required(VERSION)` command in the current
+variable scope or any parent variable scope.