Ver código fonte

Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE

Craig Scott 4 anos atrás
pai
commit
ca371d3a14
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      Help/manual/cmake-presets.7.rst

+ 3 - 2
Help/manual/cmake-presets.7.rst

@@ -187,8 +187,9 @@ that may contain the following fields:
   An optional string representing the path to the toolchain file.
   This field supports `macro expansion`_. If a relative path is specified,
   it is calculated relative to the build directory, and if not found,
-  relative to the source directory. Takes precedence over any `CMAKE_TOOLCHAIN_FILE`
-  value. This is allowed in preset files specifying version ``3`` or above.
+  relative to the source directory. This field takes precedence over any
+  :variable:`CMAKE_TOOLCHAIN_FILE` value. It is allowed in preset files
+  specifying version ``3`` or above.
 
 ``binaryDir``