[Insight-developers] CVS build breaks with shared libs (fix included)

Brad King brad.king at kitware.com
Tue Jan 18 10:55:36 EST 2005


Zachary Pincus wrote:
> Adding the following line to Insight/Code/SpatialObject/CMakeLists.txt,  
> after the ADD_LIBRARY command (on line 6) fixes the problem:
> 
> TARGET_LINK_LIBRARIES(ITKSpatialObject ITKNumerics ITKCommon)

If the spatial object code includes headers from ITKNumerics and 
ITKCommon (and I think it does), then this link command should be 
included.  I see no problem with committing your fix, though I am not an 
author of code in that directory.

-Brad


More information about the Insight-developers mailing list