[vtk-developers] LINK_INTERFACE_LIBRARIES: EXPORT_LIBRARY_DEPENDENCIES deprecation

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Feb 26 05:20:19 EST 2010


Hi there,

  [Reminder: In an installed VTK, when linking to the shared lib
vtkIO, cmake does transitive linking and will link an executable to
vtkIO/png/jpeg/tiff, instead of just the ${KIT_INTERFACE_LIBRARIES})

  I'd like to know first if anyone is working on this issue ?
  If not what are the steps:

1. Remove EXPORT_LIBRARY_DEPENDENCIES() call and replace with
install(EXPORT VTKEXPORTNAME ...)
2. Add EXPORT VTKEXPORTNAME to all install(vtkpng|vtktiff|vtkzlib|vtkIO|...)
3. Tweaks (?) VTKConfig.cmake to start using VTKEXPORTNAME.cmake
instead of VTKLibDep.cmake.

Am I missing anything here ?

Thanks
-- 
Mathieu



More information about the vtk-developers mailing list