From: rnv Date: Tue, 29 Oct 2019 14:54:09 +0000 (+0300) Subject: Fix for '#17904 [CEA] FindOpenCV cmake file' issue. X-Git-Tag: V9_4_0rc1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bcebb973e60640c588971169c60033547c645294;p=tools%2Fconfiguration.git Fix for '#17904 [CEA] FindOpenCV cmake file' issue. --- diff --git a/cmake/FindOpenCV.cmake b/cmake/FindOpenCV.cmake index 16851c9..c264f14 100644 --- a/cmake/FindOpenCV.cmake +++ b/cmake/FindOpenCV.cmake @@ -39,7 +39,7 @@ IF(OpenCV_INCLUDE_DIRS) LIST(APPEND OpenCV_INCLUDE_DIRS ${_OpenCV_INCLUDE_DIR_TMP}) ENDIF() -SET(OpenCV_LIB_COMPONENTS videostab;video;ts;superres;stitching;photo;ocl;objdetect;ml;legacy;imgproc;highgui;gpu;flann;features2d) +SET(OpenCV_LIB_COMPONENTS videostab;video;ts;superres;stitching;photo;ocl;objdetect;ml;legacy;imgproc;highgui;gpu;flann;features2d;core;objdetect;imgcodecs;shape) FOREACH(_compo ${OpenCV_LIB_COMPONENTS}) FIND_LIBRARY(OpenCV_${_compo} opencv_${_compo})