Help: Fix example for return command

`cmake_minimum_required` is the correct command, not
`cmake_version_required`.
This commit is contained in:
Johannes Schultz 2024-02-14 11:22:01 +01:00 committed by Brad King
parent 105cb4ee02
commit c6f56153bb

View File

@ -40,7 +40,7 @@ command. All arguments are ignored unless that policy is set to ``NEW``.
.. code-block:: cmake .. code-block:: cmake
:caption: CMakeLists.txt :caption: CMakeLists.txt
cmake_version_required(VERSION 3.25) cmake_minimum_required(VERSION 3.25)
project(example) project(example)
set(var1 "top-value") set(var1 "top-value")