From 3caae2d1b923381017c848372ee3d02946dad845 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Fri, 3 Dec 2010 15:56:43 +0000 Subject: [PATCH] Replace deprecated SUBDIRS by ADD_SUBDIRECTORY --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53fce69..30cb4ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,8 +17,11 @@ PROJECT(bbtk) INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE ) #----------------------------------------------------------------------------- -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) -- 2.45.1