[cmake-developers] Adding argument "OPTIONAL" to find_package() and add_subdirectory

Alexander Neundorf neundorf at kde.org
Tue Jun 21 15:25:48 EDT 2011


On Tuesday 21 June 2011, Brad King wrote:
> On 06/20/2011 06:23 PM, Alexander Neundorf wrote:
> > I moved part of the documentation now to the variable section.
> > 
> > Better ?
> 
> Nice, thanks.
> 
> > While looking at it, I'm not sure anymore the name
> > "DISABLE_FIND_PACKAGE_<Name>" is good.
> > 
> > Should it maybe have the "CMAKE_" prefix ?
> 
> Yes, good idea.  It is a variable that controls behavior of the
> language so that prefix makes sense.
> 
> > CMAKE_DISABLE_FIND_PACKAGE_<Name> ?
> > or
> > CMAKE_FIND_PACKAGE_DISABLE_<Name> ?
> 
> Either one is fine with me.

Ok, I pushed the branch again.

Alex



More information about the cmake-developers mailing list