diff options
author | Brad King <brad.king@kitware.com> | 2015-06-08 20:11:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-08 20:13:56 (GMT) |
commit | 7ab0806fef24d4982adbbef9b37f48111d2eced4 (patch) | |
tree | 25a04a990fa21d2446aa4069d4fe17342b3d2f0c /Help/command/FIND_XXX.txt | |
parent | 3de3544fcd38680652d5bbe0790b78477ffa26f1 (diff) | |
download | CMake-7ab0806fef24d4982adbbef9b37f48111d2eced4.zip CMake-7ab0806fef24d4982adbbef9b37f48111d2eced4.tar.gz CMake-7ab0806fef24d4982adbbef9b37f48111d2eced4.tar.bz2 |
Help: Document find_* command versioned/unversioned name ordering
Suggest in the NAMES option that unversioned names go first to prefer
local builds over distro-provided files.
Diffstat (limited to 'Help/command/FIND_XXX.txt')
-rw-r--r-- | Help/command/FIND_XXX.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/FIND_XXX.txt b/Help/command/FIND_XXX.txt index 966db06..bd4d295 100644 --- a/Help/command/FIND_XXX.txt +++ b/Help/command/FIND_XXX.txt @@ -39,6 +39,11 @@ Options include: ``NAMES`` 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`` Specify directories to search in addition to the default locations. The ``ENV var`` sub-option reads paths from a system environment |