X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=0989effa34f3322a9ccfe75e49827f02d644d0bb;hb=bafc00d3eee5ab3c580e0971cb2d8806b5c74f35;hp=30cb4acd98836466a403b3c3240cde2830dcd0a4;hpb=3caae2d1b923381017c848372ee3d02946dad845;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 30cb4ac..0989eff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,11 +17,14 @@ PROJECT(bbtk) INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE ) #----------------------------------------------------------------------------- +# JPR 4 mars 2011 +set (CMAKE_MODULE_PATH ${CMAKE_INSTALL_PREFIX}/share/cmake/Module) + # # ----------------- manual setting GDCM/GDCM2 JPR # -OPTION(USE_GDCM "Use gdcm 1.3" OFF) -OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" ON) +OPTION(USE_GDCM "Use gdcm 1.3" ON) +OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" OFF) MESSAGE(STATUS "GDCM LIB ....= ${GDCM_LIBRARIES}") IF(USE_GDCM2) #OPTION(USE_GDCM_ANOM "use gdcm2 anonymizer tool" OFF)