From 7aa6d505bbbfa64556139a2fd2242fb1c9d3aaeb Mon Sep 17 00:00:00 2001 From: delmon Date: Tue, 22 Mar 2011 10:05:42 +0000 Subject: [PATCH] Remove vtkHybrid from clitkCommon and add it only when it is needed (clitkRTStruct). --- common/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.47.1