Browse Source

Help: minor improvement for the CMAKE_PREFIX_PATH docs

With this patch the CMAKE_PREFIX_PATH env. var. is now mentioned
in the help for the CMAKE_PREFIX_PATH cmake var.
Alex Neundorf 2 years ago
parent
commit
73ce0b792f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Help/variable/CMAKE_PREFIX_PATH.rst

+ 3 - 0
Help/variable/CMAKE_PREFIX_PATH.rst

@@ -10,6 +10,9 @@ documentation.
 
 By default this is empty.  It is intended to be set by the project.
 
+There is also an environment variable :envvar:`CMAKE_PREFIX_PATH`, which is is used
+as an additional list of search prefixes.
+
 See also :variable:`CMAKE_SYSTEM_PREFIX_PATH`, :variable:`CMAKE_INCLUDE_PATH`,
 :variable:`CMAKE_LIBRARY_PATH`, :variable:`CMAKE_PROGRAM_PATH`, and
 :variable:`CMAKE_IGNORE_PATH`.