On 1/19/2012 2:41 PM, Yury G. Kudryashov wrote:
State explicitly what CONFIG_MODE argument does.
[snip]
-# 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.

I do not think that explanation is correct.  The find_package command
in Config mode will set everything as needed.  The role of the CONFIG_MODE
option is to produce a nice error message when the package is not found.

Alex, as the author of the behavior can you suggest clearer wording?

Thanks,
-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to