1ac60eb220
Copy from KDE:Distro:Factory/opencv based on submit request 50057 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/50057 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=9
13 lines
438 B
Diff
13 lines
438 B
Diff
Index: CMakeLists.txt
|
|
===================================================================
|
|
--- CMakeLists.txt.orig
|
|
+++ CMakeLists.txt
|
|
@@ -403,6 +403,7 @@ if(UNIX)
|
|
endif()
|
|
if(WITH_V4L)
|
|
CHECK_MODULE(libv4l1 HAVE_LIBV4L)
|
|
+ CHECK_MODULE(libv4l2 HAVE_LIBV4L2)
|
|
CHECK_INCLUDE_FILE(linux/videodev.h HAVE_CAMV4L)
|
|
CHECK_INCLUDE_FILE(linux/videodev2.h HAVE_CAMV4L2)
|
|
else()
|