]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
OpenCV 4 compatibility: even better check
authorvsr <vsr@opencascade.com>
Tue, 16 Mar 2021 11:24:26 +0000 (14:24 +0300)
committervsr <vsr@opencascade.com>
Tue, 16 Mar 2021 11:24:26 +0000 (14:24 +0300)
cmake/FindOpenCV.cmake

index 7be670b4520fe34191b62b493e20a616a03b1e37..b111fb63cbcf9ce1a793001ce69e822afc8911ec 100644 (file)
@@ -29,7 +29,7 @@ IF(NOT OpenCV_FIND_QUIETLY)
   MESSAGE(STATUS "Check for OpenCV ...")
 ENDIF()
 
-FIND_PATH(OpenCV_INCLUDE_DIRS opencv2/core.hpp)
+FIND_PATH(OpenCV_INCLUDE_DIRS opencv2/opencv.hpp)
 
 SET(OpenCV_LIB_COMPONENTS videostab;video;ts;superres;stitching;photo;ocl;objdetect;ml;legacy;imgproc;highgui;gpu;flann;features2d;core;objdetect;imgcodecs;shape)