X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=3afd95ec8398832dadeb32320f856d2cfab2e9f4;hb=refs%2Ftags%2FCreatools2-0-3.creaBruker1-0-1.17Feb2011;hp=a84e339c2ce70956e9ea8f71161e4241dcaddea8;hpb=e14bf1e923b1da24871326560315c1b73bf8ca80;p=creaBruker.git diff --git a/CMakeLists.txt b/CMakeLists.txt index a84e339..3afd95e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,9 +57,13 @@ CREA_PREVENT_IN_SOURCE_BUILD() # if you need to LINK against crea # (and not only use its macros) SET(USE_CREA ON) -OPTION(USE_GDCM "Use GDCM" OFF) +# +# ----------------- manual setting GDCM/GDCM2 JPR +# +OPTION(USE_GDCM "Use GDCM" ON) SET(USE_GDCM_VTK ON) -OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" ON) +OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" OFF) + # No interface for the moment, don't allow to add useless libraries SET(USE_WXWIDGETS OFF CACHE BOOL "Use wxWidgets" FORCE) SET(USE_KWWIDGETS OFF) @@ -121,9 +125,9 @@ SET(BBTK_DOC_BUILD_PATH #================================== # Subdirs -SUBDIRS(lib) -SUBDIRS(appli) -SUBDIRS(doc) -SUBDIRS(install) +ADD_SUBDIRECTORY(lib) +ADD_SUBDIRECTORY(appli) +ADD_SUBDIRECTORY(doc) +ADD_SUBDIRECTORY(install) #==================================