From e2065563ce3b78632aeb30899f93920999028f3e Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Thu, 15 Nov 2012 09:29:27 +0100 Subject: [PATCH] handling SYSTEM_GDCM from build and install trees --- common/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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") -- 2.47.1