From: delmon Date: Tue, 22 Mar 2011 10:05:42 +0000 (+0000) Subject: Remove vtkHybrid from clitkCommon and add it only when it is needed X-Git-Tag: v1.2.0~142 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7aa6d505bbbfa64556139a2fd2242fb1c9d3aaeb;p=clitk.git Remove vtkHybrid from clitkCommon and add it only when it is needed (clitkRTStruct). --- diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 0a5dbfe..bc11149 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -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)