[Insight-developers] Using ITKv4 Exported Targets In SimpleITK

Brad King brad.king at kitware.com
Tue Oct 4 15:15:46 EDT 2011


On 10/4/2011 2:58 PM, Bradley Lowekamp wrote:
> Hello,
>
> The following project seems to fail for me for both installed ITKv4s and in-build path:
>
> cmake_minimum_required ( VERSION 2.8 FATAL_ERROR )
> project ( ITKv4TargetsTest )
>
>
> find_package(ITK REQUIRED)
> include(${ITK_USE_FILE})
>
> if(TARGET itkTestDriver)
> message( STATUS "itkTestDriver target" )
> else()
> message( FATAL_ERROR "No itkTestDriver target" )
> endif()

Please send me a tarball (off list) of the lib/cmake/ITK-4.0 directory in the
install tree.

Thanks,
-Brad K


More information about the Insight-developers mailing list