From: malaterre Date: Wed, 10 May 2006 20:05:13 +0000 (+0000) Subject: BUG: Wrong var X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5732754b06a81d7f4933e147cd2fefc978dfafdb;p=gdcm.git BUG: Wrong var --- diff --git a/CMake/UseGDCM.cmake b/CMake/UseGDCM.cmake index ab7d385b..b1dc2282 100644 --- a/CMake/UseGDCM.cmake +++ b/CMake/UseGDCM.cmake @@ -37,7 +37,7 @@ IF(NOT GDCM_USE_FILE_INCLUDED) SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${GDCM_CMAKE_DIR}") # Use VTK. - IF(NOT GDCM_NO_USE_VTK) + IF(GDCM_VTK) SET(VTK_DIR ${GDCM_VTK_DIR}) FIND_PACKAGE(VTK) IF(VTK_FOUND) @@ -45,6 +45,6 @@ IF(NOT GDCM_USE_FILE_INCLUDED) ELSE(VTK_FOUND) MESSAGE("VTK not found in GDCM_VTK_DIR=\"${GDCM_VTK_DIR}\".") ENDIF(VTK_FOUND) - ENDIF(NOT GDCM_NO_USE_VTK) + ENDIF(GDCM_VTK) ENDIF(NOT GDCM_USE_FILE_INCLUDED)