[cmake-developers] find_package without REQUIRED can cause fatal error now

Alexander Neundorf neundorf at kde.org
Tue Jul 31 15:54:01 EDT 2012


On Tuesday 31 July 2012, Brad King wrote:
...
> I think a better solution is to allow specific package locations
> to be explicitly disallowed by the user.  This gives them an
> option to deal with broken packages if they are not an admin
> on the machine capable of fixing it. 

They can already right now set CMAKE_DISABLE_FIND_PACKAGE_<package> to TRUE.
Is this good enough ?
(the documentation for this is at the very end of the find_package() 
documentation, maybe it should move up to one of the first paragraphs.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120731/bbdaa99a/attachment.html>


More information about the cmake-developers mailing list