## ========================================================================= ## @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) ## ========================================================================= ## == Find Boost find_package(Boost REQUIRED COMPONENTS filesystem program_options) ## == Find ITK find_package(ITK CONFIG REQUIRED) include(${ITK_USE_FILE}) ## == Find VTK, only if linked against ITK set(cpPlugins_USE_VTK 0) if(ITKVtkGlue_LOADED) find_package(VTK CONFIG REQUIRED) include(${VTK_USE_FILE}) set(cpPlugins_USE_VTK 1) endif(ITKVtkGlue_LOADED) ## == Find Qt5, only if linked against VTK set(cpPlugins_USE_Qt5 0) if(VTK_FOUND) if(Qt5_DIR) find_package(Qt5 CONFIG REQUIRED COMPONENTS Widgets) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(cpPlugins_USE_Qt5 1) endif(Qt5_DIR) endif(VTK_FOUND) ## eof - $RCSfile$