mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
Improve Eigen search
Should now automatically detect it during Android build
This commit is contained in:
parent
7d4432df27
commit
200a81746e
@ -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…
Reference in New Issue
Block a user