From: Romulo Pinho Date: Thu, 15 Nov 2012 08:29:27 +0000 (+0100) Subject: handling SYSTEM_GDCM from build and install trees X-Git-Tag: v1.4.0~239^2~13^2~3 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e2065563ce3b78632aeb30899f93920999028f3e;p=clitk.git handling SYSTEM_GDCM from build and install trees --- diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index d895560..b90df14 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -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")