From ea59b0cd343d1a0dc293d9bbcb88454669036456 Mon Sep 17 00:00:00 2001 From: Nikita Nemkin Date: Tue, 1 Dec 2020 01:04:25 +0500 Subject: Help: Fix version note for CMAKE_PROJECT__INCLUDE This variable predates 3.0. Fixes: #21522 --- Help/command/project.rst | 5 +++-- 1 file 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__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__INCLUDE`. +.. versionadded:: 3.15 + Added ``CMAKE_PROJECT_INCLUDE`` and ``CMAKE_PROJECT_INCLUDE_BEFORE`` variables. + .. versionadded:: 3.17 Added ``CMAKE_PROJECT__INCLUDE_BEFORE`` variable. -- cgit v0.12