]> Creatis software - crea.git/blobdiff - cmake/CREAMacro_FindAndUseLibraries.cmake
Forget to commit these ones
[crea.git] / cmake / CREAMacro_FindAndUseLibraries.cmake
index 83b5c200acbd05e7bfd32ef48b33161a642db566..09fa8b0115c7560b018d3cf1703fa7c9ff8517aa 100644 (file)
@@ -3,7 +3,7 @@
 MACRO(CREA_FIND_AND_USE_LIBRARIES)
 
 IF(INCLUDE_CTEST)
-       include(CTEST
+       include(CTest
 ENDIF(INCLUDE_CTEST)
 
 
@@ -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