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

Brad King brad.king at kitware.com
Tue Jun 21 07:50:55 EDT 2011


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.

Thanks,
-Brad



More information about the cmake-developers mailing list