← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 5136: Set policy CMP0004 to OLD to prevent intermittent error message about

 

On Wed, Sep 01, 2010 at 01:58:53PM +0100, Garth N. Wells wrote:
>
>
> On 01/09/10 13:37, noreply@xxxxxxxxxxxxx wrote:
> > ------------------------------------------------------------
> > revno: 5136
> > committer: Anders Logg <logg@xxxxxxxxx>
> > branch nick: dolfin-dev
> > timestamp: Wed 2010-09-01 14:11:48 +0200
> > message:
> >   Set policy CMP0004 to OLD to prevent intermittent error message about
> >   leading whitespace error. Not an optimal solution (better to find the
> >   reason) but it might very well be a CMake bug (or a hard to find bug
> >   in the configuration of CMake) since it disappears when CMakeCache.txt is
> >   removed.
>
> This could be very bad - I think that CMake fails when there is
> something screwy in one of the variables.

I read the description of CMP0004 and it seemed that the old policy
may cause problems in only very specific cases.

--
Anders



References