[Insight-developers] CMake with ITK, FLTK, VTK on Mac OS.X
Brad King
brad.king@kitware.com
Fri, 20 Dec 2002 16:46:55 -0500 (EST)
Wilson,
> specific flag? This option when turned on could add the following
> compiler flag:
>
> -framework Carbon
>
> and the following linker flag:
>
> -flat_namespace
>
> We were wondering if CMake could automatically add this option if it
> detects that it is running under Mac OS.X, or some other way of being
> more automatic.
I just spent some time looking at this problem. If VTK_USE_CARBON is
turned on when you build VTK, your project should automatically link to
"-framework Carbon" when you link to vtkRendering. If this is not the
case, please let me know.
-Brad