[vtk-developers] backward compatible cmake support for vtk modular

Bill Lorensen bill.lorensen at gmail.com
Fri Mar 30 19:28:50 EDT 2012


I think if you use VTK_LIBRARIES in your target_link_libraries
everything should be OK. With ITK modular, applications use
ITK_LIBRARIES without problems for both ITKv3 and ITKv4.

On Fri, Mar 30, 2012 at 4:19 PM, Pat Marion <pat.marion at kitware.com> wrote:
> Hi,
>
> It seems fairly straightforward to have a project support vtk 5 and vtk 6,
> but what about cmake code that can support both vtk and vtk modular?  Any
> examples of what that might look like?
>
> The reason I ask is... PCL uses VTK on the desktop, but what if I want to
> use VTK+VES  for PCL on mobile.  Then the PCL cmake system should know how
> to use vtk modular, since VES uses vtk modular.
>
> Pat
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list