mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 19:50:31 -04:00
PR: 210505 Submitted by: rozhuk.im@gmail.com (partially, further work was done) Exp-run by: antoine
11 lines
440 B
Text
11 lines
440 B
Text
--- CMakeLists.txt.orig 2018-05-02 21:05:51.508265000 +0000
|
|
+++ CMakeLists.txt 2018-05-02 21:05:54.408309000 +0000
|
|
@@ -22,7 +22,7 @@ else()
|
|
link_directories(${OPENCV_PREFIX}/lib)
|
|
endif()
|
|
|
|
-check_include_file_cxx("opencv2/opencv.hpp" HAVE_OPENCV)
|
|
+check_include_file_cxx("opencv2/videoio.hpp" HAVE_OPENCV)
|
|
find_library(IMGCODECS_LIBRARY NAMES opencv_imgcodecs opencv_highgui
|
|
HINTS ${OPENCV_PKG_INCLUDE_DIRS} ${OPENCV_PREFIX}/lib)
|
|
|