From 151ea3a7761179f49e647c21777c58694450db1b Mon Sep 17 00:00:00 2001 From: Frederic Cervenansky Date: Tue, 2 Nov 2010 09:09:39 +0000 Subject: [PATCH] gdcm2 corrections --- cmake/CREAMacro_FindAndUseLibraries.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/CREAMacro_FindAndUseLibraries.cmake b/cmake/CREAMacro_FindAndUseLibraries.cmake index bca8c45..09fa8b0 100644 --- a/cmake/CREAMacro_FindAndUseLibraries.cmake +++ b/cmake/CREAMacro_FindAndUseLibraries.cmake @@ -187,7 +187,8 @@ IF(USE_GDCM2) # Test that GDCM_NAME_SPACE is **NOT** "gdcm" or will conflict with # embedded gdcm in ITK and will result in hard seg faults ! - + INCLUDE_DIRECTORIES(${GDCM_INCLUDE_DIR}) + LINK_DIRECTORIES( ${GDCM_LIBRARY_DIR}) SET(GDCM2_LIBRARIES ${GDCM_LIBRARIES} @@ -199,7 +200,7 @@ IF(USE_GDCM2) SET(GDCM_LIBRARIES ${GDCM_LIBRARIES} vtkgdcm - gdcm2vtk + #gdcm2vtk ) ELSE(WIN32) SET(GDCM_LIBRARIES -- 2.47.1