X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fcmake%2FBBTKFindLibraries.cmake;h=e781d61838ad78bdbe6e77d2ab1f1d0a5fafc4f5;hb=be8eea137173038001d4f8450ff6775c178e3b5e;hp=80997c0f8580132914f9e52a69d01475bf8efd10;hpb=ee6e5669242906f575db12c6408aa3e398d55bba;p=bbtk.git diff --git a/kernel/cmake/BBTKFindLibraries.cmake b/kernel/cmake/BBTKFindLibraries.cmake index 80997c0..e781d61 100644 --- a/kernel/cmake/BBTKFindLibraries.cmake +++ b/kernel/cmake/BBTKFindLibraries.cmake @@ -13,11 +13,16 @@ IF(USE_VTK) INCLUDE(${VTK_USE_FILE}) ADD_DEF( _USE_VTK_ ) SET(BBTK_VTK_LIBRARIES - # vtkCommon - vtkImaging vtkGraphics vtkRendering vtkFiltering vtkCommon vtkWidgets - vtkVolumeRendering - # LG : removed vtkIO because conflict with itktiff lib in ITKIO - ) + vtkCommon # Mandatory + vtkFiltering # vtkImageData + vtkRendering # vtkProp3D + vtkWidgets # vtkImagePlaneWidget + vtkIO # vtkMetaImageReader/Writer + vtkImaging # filters such as vtkImageAnisotropicDiffusion3D + vtkGraphics # vtkContourFilter, sources + vtkVolumeRendering # Mappers +# vtkGenericFiltering + ) MARK_AS_ADVANCED(VTK_DIR) ELSE(VTK_FOUND) message(FATAL_ERROR "VTK_DIR not found") @@ -162,11 +167,11 @@ ENDIF(USE_WXWIDGETS) IF(USE_DOXYGEN) FIND_PACKAGE(Doxygen REQUIRED) # MESSAGE(STATUS "Looking for doxygen... - found ${DOXYGEN}") - # IF(DOXYGEN) -# -# ELSE(DOXYGEN) -# MESSAGE(FATAL_ERROR "Doxygen not found. Required to build the doxygen documentation") -# ENDIF(DOXYGEN) + IF(DOXYGEN) + + ELSE(DOXYGEN) + MESSAGE(FATAL_ERROR "Doxygen not found. Required to build the doxygen documentation") + ENDIF(DOXYGEN) ENDIF(USE_DOXYGEN) #-----------------------------------------------------------------------------