[cmake-developers] [PATCH] FindPackageHandleStandardArgs: fix documentation

Alexander Neundorf neundorf at kde.org
Fri Jan 20 15:38:28 EST 2012


On Friday 20 January 2012, Brad King wrote:
> On 1/20/2012 8:57 AM, Yury G. Kudryashov wrote:
> > Brad King wrote:
> >> I do not think that explanation is correct.  The find_package command
> >> in Config mode will set everything as needed.
> > 
> > Yes, so the old explanation is incorrect.
> > 
> >> The role of the CONFIG_MODE
> >> option is to produce a nice error message when the package is not found.
> > 
> > I've searched FPHSA.cmake for CONFIG_MODE, and found the following code
> 
> > snippets:
> Sorry, I misread the new wording originally.  I applied it and tweaked
> the wording a bit:
> 
>    http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=26015bab

Fine with me.
I'm not sure I see why the modified version is better than before, but it's 
ok.

Alex



More information about the cmake-developers mailing list