From: jean-pierre roux Date: Fri, 3 Dec 2010 15:56:54 +0000 (+0000) Subject: Replace deprecated SUBDIRS by ADD_SUBDIRECTORY X-Git-Tag: Creatools2-0-3.creaImageIO0-2-5.17Feb2011~9 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaImageIO.git;a=commitdiff_plain;h=12e516415f5641b9688857088f3c6474abc522c2 Replace deprecated SUBDIRS by ADD_SUBDIRECTORY --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 45c9c98..6c9f95d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,9 +53,11 @@ IF(QT4_FOUND) LINK_DIRECTORIES(${QT_DIR}/../lib) ENDIF(WIN32) ENDIF(QT4_FOUND) - -OPTION(USE_GDCM "Use gdcm 1.3" ON) -OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" OFF) +# +# ----------------- manual setting GDCM/GDCM2 JPR +# +OPTION(USE_GDCM "Use gdcm 1.3" OFF) +OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" ON) MESSAGE(STATUS "GDCM LIB ....= ${GDCM_LIBRARIES}") IF(USE_GDCM2) OPTION(USE_GDCM_ANOM "use gdcm2 anonymizer tool" OFF)