find_program: Optionally consider all names in each directory

When more than one value is given to the NAMES option this command by
default will consider one name at a time and search every directory for
it.  Add a NAMES_PER_DIR option to tell this command to consider one
directory at a time and search for all names in it.
This commit is contained in:
Brad King
2015-09-01 16:25:57 -04:00
parent fc1990c933
commit 8ea7611bc3
7 changed files with 64 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
find_program-NAMES_PER_DIR
--------------------------
* The :command:`find_program` command learned a ``NAMES_PER_DIR``
option to consdier all given ``NAMES`` in each directory before
moving on to the next directory.