On Tuesday 21 February 2012, Brad King wrote:
> On 2/20/2012 5:43 PM, Brad King wrote:
> > The new find_package option will be called "CONFIG", please.
> 
> Another possibility is to require the mode keywords to come as the first
> argument, before the package name, just like many other commands:
> 
>    find_package(CONFIG Foo)
> 
> That will clearly distinguish it from other options that affect the
> settings within Config mode.


Ok, new day, new branch ;-)

This is now in the FindPackage_CONFIG_MODULEKeywordsFirst branch on stage, 
branched away from FindPackage_ImprovedErrorMessages.

I haven't adjusted the default mode error message yet.
The other error messages are quite close to what you show below.

Also the new AUTHOR_WARNING text is not really very good yet.
Documentation and test is also still missing.

There is the potential issue with "CONFIG" and "MODULE" being in use as module 
names already somewhere.

Alex
--

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