[Insight-developers] cmake warning when compiling against installed ITK (release branch)

Arnaud Gelas Arnaud_Gelas at hms.harvard.edu
Thu Oct 27 08:34:39 EDT 2011


Hi,

I guess the problem comes from

	IF("@ITK_USE_REVIEW@")

which should be changed by

	IF( "@ITK_USE_REVIEW@" MATCHES "ON" )

Arnaud

On Oct 27, 2011, at 7:59 AM, Casey Goodlett wrote:

> Hi all,
>
> I recompiled today against an installed version of ITK v3.20.1, and I
> have the same error message from CMake CMP0012 at the same block of
> code.  Is there a better way to setup that conditional to have a valid
> boolean inside the if statement?
>
> Thanks
>
> -- 
> Casey B. Goodlett, Ph.D.
> R&D Engineer
> Kitware, Inc. - North Carolina Office
> http://www.kitware.com
> (919) 969-6990 x310



More information about the Insight-developers mailing list