]> Creatis software - crea.git/blobdiff - cmake/CREAMacro_FindAndUseLibraries.cmake
gdcm2 corrections
[crea.git] / cmake / CREAMacro_FindAndUseLibraries.cmake
index bca8c45aac729af259d61034ee2b7b62baee85cb..09fa8b0115c7560b018d3cf1703fa7c9ff8517aa 100644 (file)
@@ -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