summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-05-20 10:54:55 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-05-20 10:54:55 (GMT)
commitbc735062df1bf152e3c80c0928eada6d224132b5 (patch)
tree1158a7dd6e06bbaed831159ee638ac66bb621172 /Help
parentddcc5a350ca81cdbe2942b16b618d8c1d2e0c335 (diff)
downloadCMake-bc735062df1bf152e3c80c0928eada6d224132b5.zip
CMake-bc735062df1bf152e3c80c0928eada6d224132b5.tar.gz
CMake-bc735062df1bf152e3c80c0928eada6d224132b5.tar.bz2
Help: Improve formatting and cross-references for find_package()
Diffstat (limited to 'Help')
-rw-r--r--Help/command/find_package.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 3547ada..dcc0225 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -329,9 +329,9 @@ enabled.
skipped if ``NO_SYSTEM_ENVIRONMENT_PATH`` is passed or by setting the
:variable:`CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH` to ``FALSE``. Path entries
ending in ``/bin`` or ``/sbin`` are automatically converted to their
- parent directories::
+ parent directories:
- PATH
+ * ``PATH``
6. Search paths stored in the CMake :ref:`User Package Registry`.
This can be skipped if ``NO_CMAKE_PACKAGE_REGISTRY`` is passed or by
@@ -345,11 +345,11 @@ enabled.
7. Search cmake variables defined in the Platform files for the
current system. This can be skipped if ``NO_CMAKE_SYSTEM_PATH`` is
passed or by setting the :variable:`CMAKE_FIND_USE_CMAKE_SYSTEM_PATH`
- to ``FALSE``::
+ to ``FALSE``:
- CMAKE_SYSTEM_PREFIX_PATH
- CMAKE_SYSTEM_FRAMEWORK_PATH
- CMAKE_SYSTEM_APPBUNDLE_PATH
+ * :variable:`CMAKE_SYSTEM_PREFIX_PATH`
+ * :variable:`CMAKE_SYSTEM_FRAMEWORK_PATH`
+ * :variable:`CMAKE_SYSTEM_APPBUNDLE_PATH`
The platform paths that these variables contain are locations that
typically include installed software. An example being ``/usr/local`` for