[vtk-developers] Use LINK_INTERFACE_LIBRARIES for VTK libs

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Jul 22 03:20:46 EDT 2009


On Tue, Jul 21, 2009 at 3:14 PM, Brad King<brad.king at kitware.com> wrote:
> Mathieu Malaterre wrote:
>>   Since VTK HEAD now requires cmake 2.6.3, I'd like to change the
>> target_link_libraries to use the new LINK_INTERFACE_LIBRARIES flag in
>> the signature of the function. AFAIK this will be completely backward
>> compatible for shared lib.
>
> This should be done, and was one of the reasons we wanted to start
> requiring CMake 2.6.3.
>
> In order to take advantage of this from outside VTK then the entire
> VTKConfig.cmake generation and installation needs to be reworked.
> See the export/import and packaging notes here:
>
>  http://www.cmake.org/Wiki/CMake_2.6_Notes
>
> I don't know if I'll find time to do it, but I can guide anyone
> that wants to try it.

Brad,

  Could you comment on the attached patch ?

Thanks,
-- 
Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transitive.patch
Type: text/x-patch
Size: 10520 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090722/d5026f98/attachment-0001.bin>


More information about the vtk-developers mailing list