Improve Eigen search

Should now automatically detect it during Android build
pull/31/head
Andrey Kamaev 13 years ago
parent 7d4432df27
commit 200a81746e
  1. 3
      cmake/OpenCVFindLibsPerf.cmake

@ -29,7 +29,8 @@ if(WITH_EIGEN)
find_path(EIGEN_INCLUDE_PATH "Eigen/Core"
PATHS /usr/local /opt /usr ENV ProgramFiles ENV ProgramW6432
PATH_SUFFIXES include/eigen3 include/eigen2 Eigen/include/eigen3 Eigen/include/eigen2
DOC "The path to Eigen3/Eigen2 headers")
DOC "The path to Eigen3/Eigen2 headers"
CMAKE_FIND_ROOT_PATH_BOTH)
if(EIGEN_INCLUDE_PATH)
ocv_include_directories(${EIGEN_INCLUDE_PATH})

Loading…
Cancel
Save