summaryrefslogtreecommitdiffstats
path: root/Help/envvar/CMAKE_LIBRARY_PATH.rst
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2023-04-30 17:22:24 (GMT)
committerAlex Neundorf <neundorf@kde.org>2023-05-01 13:12:17 (GMT)
commite40d4eb64465acd70004851928e07caa55bf46dd (patch)
tree1e3ddcd6576f3bb5df171eb6ba78d27f5f8537fd /Help/envvar/CMAKE_LIBRARY_PATH.rst
parent73ce0b792f487abff8fc8bdc100d8ac873311868 (diff)
downloadCMake-e40d4eb64465acd70004851928e07caa55bf46dd.zip
CMake-e40d4eb64465acd70004851928e07caa55bf46dd.tar.gz
CMake-e40d4eb64465acd70004851928e07caa55bf46dd.tar.bz2
Help: add documentation for some CMAKE_XXX_PATH env.vars
This patch adds basic documentation for the CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH, CMAKE_APPBUNDLE_PATH and CMAKE_FRAMEWORK_PATH environment variables and links to the respective cmake variables and vice versa.
Diffstat (limited to 'Help/envvar/CMAKE_LIBRARY_PATH.rst')
-rw-r--r--Help/envvar/CMAKE_LIBRARY_PATH.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/envvar/CMAKE_LIBRARY_PATH.rst b/Help/envvar/CMAKE_LIBRARY_PATH.rst
new file mode 100644
index 0000000..a51100d
--- /dev/null
+++ b/Help/envvar/CMAKE_LIBRARY_PATH.rst
@@ -0,0 +1,13 @@
+CMAKE_LIBRARY_PATH
+------------------
+
+.. include:: ENV_VAR.txt
+
+The ``CMAKE_LIBRARY_PATH`` environment variable may be set to a list of
+directories to be searched by the :command:`find_library` command.
+
+This variable may hold a single directory or a list of directories separated
+by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
+variable convention on those platforms).
+
+See also the :variable:`CMAKE_LIBRARY_PATH` CMake variable.