Yup. Confirmed from my modular VTK testing. I think it make sense to attache VTK_LIBRARIES to ITK_LIBRAIRES, once the VTK modules are enabled.
On Tue, Jun 26, 2012 at 1:10 PM, Bill Lorensen <[email protected]>wrote: > After VTK modular, the USE_VTK_FILE does a lot more. I think for the > time being, you will have to > FIND_PACKAGE(VTK) > INCLUDE(${USE_VTK_FILE}) > > the ITK configuration is not smart enough yet. > > It's definitely a bug. > > On Tue, Jun 26, 2012 at 1:07 PM, David Doria <[email protected]> wrote: > > On Tue, Jun 26, 2012 at 12:58 PM, Bill Lorensen <[email protected] > > > > 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 > > > > -- > Unpaid intern in BillsBasement at noware dot com > -- --------------------------------------------- *Xiaoxiao Liu*, Ph.D. R & D Engineer Kitware Inc <http://www.kitware.com/>. Clifton Park, NY Phone: (518) 881-4924 or (518) 371-3971 x124
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
