In DGtalConfig.cmake, the specific Eigen3 include_dirs are not added to the list of include directories.
Then, when using DGtal from another project, using DEC package indicates missing Eigen include files.
Suggest modifying DGtalConfig.cmake.in as follows:
In DGtalConfig.cmake, the specific Eigen3 include_dirs are not added to the list of include directories. Then, when using DGtal from another project, using DEC package indicates missing Eigen include files. Suggest modifying DGtalConfig.cmake.in as follows:
IF(@EIGEN_FOUND_DGTAL@) ADD_DEFINITIONS("-DWITH_EIGEN ") SET(WITH_EIGEN 1) SET(DGTAL_INCLUDE_DIRS ${DGTAL_INCLUDE_DIRS} @EIGEN3_INCLUDE_DIR@ ) ENDIF(@EIGEN_FOUND_DGTAL@)