From a986db56c6af5d32393fde23cc4e1b09c9a4f29c Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 1 Sep 2016 15:17:32 +0300 Subject: [PATCH] cmake: update matlab path --- cmake/OpenCVFindMatlab.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVFindMatlab.cmake b/cmake/OpenCVFindMatlab.cmake index 65ad965c3d..ffe8857fec 100644 --- a/cmake/OpenCVFindMatlab.cmake +++ b/cmake/OpenCVFindMatlab.cmake @@ -62,7 +62,7 @@ function(locate_matlab_root) # possible root locations, in order of likelihood set(SEARCH_DIRS_ /Applications /usr/local /opt/local /usr /opt) foreach (DIR_ ${SEARCH_DIRS_}) - file(GLOB MATLAB_ROOT_DIR_ ${DIR_}/MATLAB/R*) + file(GLOB MATLAB_ROOT_DIR_ ${DIR_}/MATLAB/R* ${DIR_}/MATLAB_R*) if (MATLAB_ROOT_DIR_) # sort in order from highest to lowest # normally it's in the format MATLAB_R[20XX][A/B]