FindEigen.cmake 323 Bytes
FIND_PATH(EIGENINCLUDE_DIR Eigen
  HINTS
    ${USERLOCAL_ROOT}/include/eigen3/Eigen
  NO_DEFAULT_PATH
)
mark_as_advanced(EIGENINCLUDE_DIR)



include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Eigen DEFAULT_MSG EIGENINCLUDE_DIR)

if(EIGEN_FOUND)
   set(EIGENINCLUDE_DIRS ${EIGENINCLUDE_DIR})
endif()