summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-29 14:57:39 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-29 14:57:39 (GMT)
commit3406e1ef2c13bef4e94ef7ce6f82a125ddde0c0e (patch)
tree2313a791e7971d8519e3971653e054cdd18f7675 /Source/cmFindPackageCommand.cxx
parente5fce58da3e44b1c7615e64ff276f0170b83b08b (diff)
downloadCMake-3406e1ef2c13bef4e94ef7ce6f82a125ddde0c0e.zip
CMake-3406e1ef2c13bef4e94ef7ce6f82a125ddde0c0e.tar.gz
CMake-3406e1ef2c13bef4e94ef7ce6f82a125ddde0c0e.tar.bz2
ENH: Added not to find_package documentation about unspecified choice among multiple versions.
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index d710f81..741a08f 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -187,7 +187,11 @@ cmFindPackageCommand::cmFindPackageCommand()
" <package>_VERSION_MAJOR = major from major[.minor[.patch]], if any\n"
" <package>_VERSION_MINOR = minor from major[.minor[.patch]], if any\n"
" <package>_VERSION_PATCH = patch from major[.minor[.patch]], if any\n"
- "and the corresponding package configuration file is loaded."
+ "and the corresponding package configuration file is loaded. "
+ "When multiple package configuration files are available whose version "
+ "files claim compatibility with the version requested it is unspecified "
+ "which one is chosen. "
+ "No attempt is made to choose a highest or closest version number."
"\n"
"Config mode provides an elaborate interface and search procedure. "
"Much of the interface is provided for completeness and for use "