[cmake-developers] find_package without REQUIRED can cause fatal error now
Bill Hoffman
bill.hoffman at kitware.com
Tue Jul 31 12:20:42 EDT 2012
On 7/30/2012 3:38 PM, Alexander Neundorf wrote:
> The idea was that this is a sign of a broken install.
>
> Can you uninstall the vtk-devel package (does this exist ?), because it
> is broken, i.e. does not contain everything is claims to ?
>
> I understand that this is maybe not expected behaviour for an optional
> package, but maybe Brad is right ?
>
> Alex
>
Yes, VTK is broken on the machine, and we could fix the machine.
However, this would be the first time we did a work around for the
modules test by fixing the machine. I wonder if we could just disable
fatal error at the start of find_package optional. Then turn it back on
at the end. My concern is optional packages, maybe that is a rare case
not sure.
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
More information about the cmake-developers
mailing list