[cmake-developers] [PATCH] FindPackageHandleStandardArgs: fix documentation
Yury G. Kudryashov
urkud.urkud at gmail.com
Thu Jan 19 14:41:20 EST 2012
From: "Yury G. Kudryashov" <urkud.urkud at gmail.com>
State explicitly what CONFIG_MODE argument does.
---
Modules/FindPackageHandleStandardArgs.cmake | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Modules/FindPackageHandleStandardArgs.cmake b/Modules/FindPackageHandleStandardArgs.cmake
index 1acb021..295d789 100644
--- a/Modules/FindPackageHandleStandardArgs.cmake
+++ b/Modules/FindPackageHandleStandardArgs.cmake
@@ -33,9 +33,9 @@
# messages include information about the required version and the version
# which has been actually found, both if the version is ok or not.
# Use the option CONFIG_MODE if your FindXXX.cmake module is a wrapper for
-# a find_package(... NO_MODULE) call, in this case all the information
-# provided by the config-mode of find_package() will be evaluated
-# automatically.
+# a find_package(... NO_MODULE) call, in this VERSION_VAR will be set to
+# NAME_VERSION and the macro will automatically check whether the Config module
+# was found.
# Via FAIL_MESSAGE a custom failure message can be specified, if this is not
# used, the default message will be displayed.
#
--
1.7.8
More information about the cmake-developers
mailing list