[Insight-developers] caleb.crd nightly trying to compile FEM Mesh

Luis Ibanez luis.ibanez@kitware.com
Mon, 18 Mar 2002 13:25:08 -0500


Hi,

It was my mistake. The CMakeLists.txt  had the OPTION() command
but it was missing the IF() command that test for the option to be set 
or not.

The correct usage is :

OPTION( MY_OPTION "Description"  OFF )
IF( MY_OPTION )   
   // more commands
ENDIF( MY_OPTION )

I was missing the IF() line...       :-/
Sorry about that.


The fix has been checked in.

Thanks for the help

Luis


======================================

Lorensen, William E (CRD) wrote:

>Looks to me like the CMakeLists.txt file in Examples does not honor the BUILD_FEM_MESH_EXAMPLE
>option.
>
>
>