From: rnv Date: Thu, 6 Apr 2017 11:53:42 +0000 (+0300) Subject: Small correction for OPENCV. X-Git-Tag: V8_3_0rc2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=821e54ed8fe989ac44c815f642b89c8cbb01b267;p=tools%2Fconfiguration.git Small correction for OPENCV. --- diff --git a/cmake/FindOpenCV.cmake b/cmake/FindOpenCV.cmake index ac601b6..c8f38f8 100644 --- a/cmake/FindOpenCV.cmake +++ b/cmake/FindOpenCV.cmake @@ -48,7 +48,10 @@ FOREACH(_compo ${OpenCV_LIB_COMPONENTS}) ENDIF() ENDFOREACH() IF(OpenCV_LIBRARIES AND OpenCV_INCLUDE_DIRS) - SET(OpenCV_FOUND 1) + IF(NOT OpenCV_LIBS) + SET(OpenCV_LIBS ${OpenCV_LIBRARIES}) + ENDIF() + SET(OpenCV_FOUND 1) IF(NOT OpenCV_FIND_QUIETLY) MESSAGE("OpenCV found !")