From 628f1909124bff5f7ca9bcc2e586235921715d72 Mon Sep 17 00:00:00 2001 From: gdd Date: Tue, 13 Sep 2011 15:46:24 +0000 Subject: [PATCH] rnc : modified name of root directory in opencv detection macro --- adm_local/unix/config_files/check_OpenCV.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adm_local/unix/config_files/check_OpenCV.m4 b/adm_local/unix/config_files/check_OpenCV.m4 index 02b9e4861..93cd5a6a1 100644 --- a/adm_local/unix/config_files/check_OpenCV.m4 +++ b/adm_local/unix/config_files/check_OpenCV.m4 @@ -46,8 +46,8 @@ if test "$with_opencv" != "no" ; then fi if test "$OPENCV_HOME" == "" ; then - if test "x$OPENCVHOME" != "x" ; then - OPENCV_HOME=$OPENCVHOME + if test "x$OPENCV_INSTALL_DIR" != "x" ; then + OPENCV_HOME=$OPENCV_INSTALL_DIR fi fi -- 2.39.2