summaryrefslogtreecommitdiff
path: root/Help/command/find_path.rst
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2023-04-30 20:19:47 +0200
committerAlex Neundorf <neundorf@kde.org>2023-05-01 15:12:23 +0200
commitc584882b260a3f2bac3238d9bfebf107cd5df61b (patch)
tree3bbda894d04160ba125e58b534221e703dcb108a /Help/command/find_path.rst
parente40d4eb64465acd70004851928e07caa55bf46dd (diff)
downloadcmake-c584882b260a3f2bac3238d9bfebf107cd5df61b.tar.gz
Help: change links to point to the env.vars, not to the cmake vars
The documentation of the find-commands was pointing to the cmake variables CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH etc. also in the section for environment variables. Now they point to the documentation for the respective environment variables.
Diffstat (limited to 'Help/command/find_path.rst')
-rw-r--r--Help/command/find_path.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/command/find_path.rst b/Help/command/find_path.rst
index 1d7648d05c..f0522f6430 100644
--- a/Help/command/find_path.rst
+++ b/Help/command/find_path.rst
@@ -19,6 +19,12 @@ find_path
.. |CMAKE_XXX_PATH| replace:: :variable:`CMAKE_INCLUDE_PATH`
.. |CMAKE_XXX_MAC_PATH| replace:: :variable:`CMAKE_FRAMEWORK_PATH`
+.. |ENV_CMAKE_PREFIX_PATH_XXX| replace::
+ ``<prefix>/include/<arch>`` if :variable:`CMAKE_LIBRARY_ARCHITECTURE` is set,
+ and |ENV_CMAKE_PREFIX_PATH_XXX_SUBDIR|
+.. |ENV_CMAKE_XXX_PATH| replace:: :envvar:`CMAKE_INCLUDE_PATH`
+.. |ENV_CMAKE_XXX_MAC_PATH| replace:: :envvar:`CMAKE_FRAMEWORK_PATH`
+
.. |SYSTEM_ENVIRONMENT_PATH_XXX| replace:: The directories in ``INCLUDE``
and ``PATH``.
.. |SYSTEM_ENVIRONMENT_PATH_WINDOWS_XXX| replace:: On Windows hosts: