]> Creatis software - clitk.git/commitdiff
Remove vtkHybrid from clitkCommon and add it only when it is needed
authordelmon <delmon>
Tue, 22 Mar 2011 10:05:42 +0000 (10:05 +0000)
committerdelmon <delmon>
Tue, 22 Mar 2011 10:05:42 +0000 (10:05 +0000)
(clitkRTStruct).

common/CMakeLists.txt

index 0a5dbfe9f2f5ffb54c3272847379b6ca5124f7bf..bc11149ad3982d7f10f7519d43769c8c8ea40575 100644 (file)
@@ -41,7 +41,7 @@ IF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND")
   TARGET_LINK_LIBRARIES(clitkCommon statgrab)
 ENDIF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND")
 
-TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging vtkHybrid ITKBasicFilters)
+TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging ITKBasicFilters)
 
 ADD_LIBRARY(clitkDicomRTStruct STATIC
   clitkDicomRT_Contour.cxx
@@ -50,5 +50,7 @@ ADD_LIBRARY(clitkDicomRTStruct STATIC
   clitkDicomRT_ROI_ConvertToImageFilter.cxx
 )
 
+TARGET_LINK_LIBRARIES(clitkDicomRTStruct vtkHybrid) 
+
 #ADD_LIBRARY(clitkCommonShared SHARED ${clitkCommon_SRC})
 #SET_TARGET_PROPERTIES(clitkCommonShared PROPERTIES COMPILE_FLAGS -fPIC)