Index: CMakeLists.txt =================================================================== --- CMakeLists.txt.orig +++ CMakeLists.txt @@ -544,6 +544,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()