summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2020-11-30 20:04:25 (GMT)
committerNikita Nemkin <nikita@nemkin.ru>2020-12-02 16:00:29 (GMT)
commitea59b0cd343d1a0dc293d9bbcb88454669036456 (patch)
treecadd288c140d5c0da00f04f547cdbd6b3f19aa4d
parent05c3060b10dcd34cd148961f20c9ae0e64b12757 (diff)
downloadCMake-ea59b0cd343d1a0dc293d9bbcb88454669036456.zip
CMake-ea59b0cd343d1a0dc293d9bbcb88454669036456.tar.gz
CMake-ea59b0cd343d1a0dc293d9bbcb88454669036456.tar.bz2
Help: Fix version note for CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE
This variable predates 3.0. Fixes: #21522
-rw-r--r--Help/command/project.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/command/project.rst b/Help/command/project.rst
index d3454cc..29c9ad4 100644
--- a/Help/command/project.rst
+++ b/Help/command/project.rst
@@ -120,8 +120,6 @@ options are intended for use as default values in package metadata and documenta
Code Injection
^^^^^^^^^^^^^^
-.. versionadded:: 3.15
-
If the :variable:`CMAKE_PROJECT_INCLUDE_BEFORE` or
:variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE` variables are set,
the files they point to will be included as the first step of the
@@ -135,6 +133,9 @@ they point to will be included as the last step of the ``project()`` command.
If both are set, then :variable:`CMAKE_PROJECT_INCLUDE` will be included before
:variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`.
+.. versionadded:: 3.15
+ Added ``CMAKE_PROJECT_INCLUDE`` and ``CMAKE_PROJECT_INCLUDE_BEFORE`` variables.
+
.. versionadded:: 3.17
Added ``CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`` variable.