From 3406e1ef2c13bef4e94ef7ce6f82a125ddde0c0e Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 29 Jan 2008 09:57:39 -0500 Subject: [PATCH] ENH: Added not to find_package documentation about unspecified choice among multiple versions. --- Source/cmFindPackageCommand.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index d710f8163..741a08f13 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -187,7 +187,11 @@ cmFindPackageCommand::cmFindPackageCommand() " _VERSION_MAJOR = major from major[.minor[.patch]], if any\n" " _VERSION_MINOR = minor from major[.minor[.patch]], if any\n" " _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 "