From: Anatoly Baksheev Date: Tue, 23 Oct 2012 11:12:39 +0000 (+0400) Subject: Added default Eigen search path to support Eigen that comes with PCL X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~4096^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=275ab53ebc361279a3119e051155d2c174a41be6;p=platform%2Fupstream%2Fopencv.git Added default Eigen search path to support Eigen that comes with PCL --- diff --git a/cmake/OpenCVFindLibsPerf.cmake b/cmake/OpenCVFindLibsPerf.cmake index 4c12304..6772c79 100644 --- a/cmake/OpenCVFindLibsPerf.cmake +++ b/cmake/OpenCVFindLibsPerf.cmake @@ -32,7 +32,7 @@ endif(WITH_CUDA) # --- Eigen --- if(WITH_EIGEN) find_path(EIGEN_INCLUDE_PATH "Eigen/Core" - PATHS /usr/local /opt /usr ENV ProgramFiles ENV ProgramW6432 + PATHS /usr/local /opt /usr $ENV{EIGEN_ROOT}/include ENV ProgramFiles ENV ProgramW6432 PATH_SUFFIXES include/eigen3 include/eigen2 Eigen/include/eigen3 Eigen/include/eigen2 DOC "The path to Eigen3/Eigen2 headers" CMAKE_FIND_ROOT_PATH_BOTH)