Merge topic 'doc-find-versioned-location'

7ab0806f Help: Document find_* command versioned/unversioned name ordering
This commit is contained in:
Brad King 2015-06-09 09:18:52 -04:00 committed by CMake Topic Stage
commit 7f14943e5c
1 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,11 @@ Options include:
``NAMES`` ``NAMES``
Specify one or more possible names for the |SEARCH_XXX|. Specify one or more possible names for the |SEARCH_XXX|.
When using this to specify names with and without a version
suffix, we recommend specifying the unversioned name first
so that locally-built packages can be found before those
provided by distributions.
``HINTS``, ``PATHS`` ``HINTS``, ``PATHS``
Specify directories to search in addition to the default locations. Specify directories to search in addition to the default locations.
The ``ENV var`` sub-option reads paths from a system environment The ``ENV var`` sub-option reads paths from a system environment