]> Creatis software - clitk.git/blobdiff - common/CMakeLists.txt
itkv4 migration:
[clitk.git] / common / CMakeLists.txt
index 5458f0128f90f1aa0912b164212b9691582df982..589d108cbeb90013f9d73c26eb971b95027c33d1 100644 (file)
@@ -43,7 +43,7 @@ IF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND")
   TARGET_LINK_LIBRARIES(clitkCommon statgrab)
 ENDIF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND")
 
-TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging ITKBasicFilters)
+TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging ${ITK_LIBRARIES})
 
 ADD_LIBRARY(clitkDicomRTStruct STATIC
   clitkDicomRT_Contour.cxx