Sfoglia il codice sorgente

Help: Fix example for return command

`cmake_minimum_required` is the correct command, not
`cmake_version_required`.
Johannes Schultz 1 anno fa
parent
commit
c6f56153bb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Help/command/return.rst

+ 1 - 1
Help/command/return.rst

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