From 200a81746e6567f5adc570455880a957e49930df Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 10 Sep 2012 18:14:32 +0400 Subject: [PATCH] Improve Eigen search Should now automatically detect it during Android build --- cmake/OpenCVFindLibsPerf.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/OpenCVFindLibsPerf.cmake b/cmake/OpenCVFindLibsPerf.cmake index 840d0c0834..5ab16ada2d 100644 --- a/cmake/OpenCVFindLibsPerf.cmake +++ b/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})