]> Creatis software - clitk.git/commitdiff
handling SYSTEM_GDCM from build and install trees
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Thu, 15 Nov 2012 08:29:27 +0000 (09:29 +0100)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Thu, 15 Nov 2012 08:29:27 +0000 (09:29 +0100)
common/CMakeLists.txt

index d895560cd6e273c31a0811f5e0345f6b44d6fda0..b90df141344ae0f4e4963b237f6b174edf9c5966 100644 (file)
@@ -59,8 +59,11 @@ IF(ITK_VERSION_MAJOR LESS "4")
   ENDIF(ITK_USE_SYSTEM_GDCM)
 ELSE(ITK_VERSION_MAJOR LESS "4")
   SET(GDCM_INCLUDE ".*include/gdcm-.*")
+  #SET(GDCM_INCLUDE ".*/Source/Common")
   IF(ITKGDCM_INCLUDE_DIRS MATCHES ${GDCM_INCLUDE})
     SET(CLITK_USE_SYSTEM_GDCM TRUE)
+  ELSE(ITKGDCM_INCLUDE_DIRS MATCHES ${GDCM_INCLUDE})
+    MESSAGE("NOT USING SYSTEM_GDCM!!!!!!!")
   ENDIF(ITKGDCM_INCLUDE_DIRS MATCHES ${GDCM_INCLUDE})
 ENDIF(ITK_VERSION_MAJOR LESS "4")