Medical Imaging Interaction Toolkit  2018.4.99-6aa36ba9
Medical Imaging Interaction Toolkit
FindEigen.cmake
Go to the documentation of this file.
1 find_path(Eigen_INCLUDE_DIR
2  NAMES Eigen/Eigen
3  PATHS ${Eigen_DIR} ${MITK_EXTERNAL_PROJECT_PREFIX} ${CMAKE_PREFIX_PATH}
4  PATH_SUFFIXES include include/eigen3
5 )
6 
7 if (NOT TARGET Eigen)
8  add_library(Eigen INTERFACE IMPORTED GLOBAL)
9  set_property(TARGET Eigen APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Eigen_INCLUDE_DIR})
10 endif()
11 
12 find_package_handle_standard_args(Eigen
13  FOUND_VAR Eigen_FOUND
14  REQUIRED_VARS Eigen_INCLUDE_DIR
15 )
16 
const std::string TARGET