[Insight-developers] Building ITK with Module_ITKVtkGlue forces client applications to find_package(VTK)?

David Doria daviddoria at gmail.com
Tue Jun 26 13:07:03 EDT 2012


On Tue, Jun 26, 2012 at 12:58 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> I think you still need
> ${VTK_LIBRARIES}


I actually don't need ${VTK_LIBRARIES},

TARGET_LINK_LIBRARIES(TestITK ${ITK_LIBRARIES})

is sufficient. However, what I do need is:

FIND_PACKAGE(VTK)
INCLUDE(${USE_VTK_FILE})

Which I agree is not right :)

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120626/b82e7b13/attachment.htm>


More information about the Insight-developers mailing list