[Insight-users] which ITK libraries are searched and linked when Multiversion ITK installed ?

David Doria daviddoria at gmail.com
Thu Jan 5 17:29:40 EST 2012


>
> target_link_libraries( image_read_write  ### And here?
>   ${ITK_LIBRARIES}
>   itkCommon
>   itkIO
>  )
>

I've never tried to make find_package find a specific version, but to your
second question, the only thing you need to link to is ${ITK_LIBRARIES}

target_link_libraries( image_read_write  ${ITK_LIBRARIES})

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120105/24f34de6/attachment.htm>


More information about the Insight-users mailing list