[Insight-users] Warning: CMake is forcing CMAKE_C_FLAGS_DEBUG to ......

Luis Ibanez luis.ibanez at kitware.com
Tue Apr 17 09:26:59 EDT 2007


Hi Lars,

CMake will ensure that the compilation flags of all the toolkits
that your are using *for a given common project* will be consistent.

For example, if you are building IGSTK, which requires both ITK
and VTK. Then CMake will verify that you built VTK and ITK with
the same compilation flags.

If your project is using an installed binary version of VTK and
a built in place version of ITK, then you may have to harmonize
both builds. Probably the easiest way to do so, is to build VTK
on your own too.



    Regards,


       Luis


--------------------
Lars Nygard wrote:
> hello,
> Ive just installed VTK and have runs some examples (registration1.cxx and registration3.cxx).
> Im using msys with the mingw3.1.0-1 compiler. 
> When I use CMake I get the following warning:
> ----------------------------------------------------------------------------------------
> Warning: CMake is forcing CMAKE_C_FLAGS_DEBUG to "" to match that imported from ITK.
> If this message appears for more than one imported project, you have conflicting options and
> will have to re-build one of those projects.
> ----------------------------------------------------------------------------------------
> 
> Although I can build the projects Im want to get rid of this warning. I don't know if it's because
> I installed VTK, but it didn't happen before that.
> How can I get rid of this warning?
> greets
> Lars Nygard
> Trondheim Sintef
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list