Help: Fix example for return command
`cmake_minimum_required` is the correct command, not `cmake_version_required`.
This commit is contained in:
parent
105cb4ee02
commit
c6f56153bb
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user