CMake: added video module to required components of opencv

This commit is contained in:
matlabbe
2022-02-15 09:38:42 -05:00
parent 540b58648f
commit 7d76043881
+1 -1
View File
@@ -34,7 +34,7 @@ find_package(fiducial_msgs)
# find_package(Boost REQUIRED COMPONENTS system)
find_package(RTABMap 0.20.18 REQUIRED)
find_package(OpenCV REQUIRED QUIET COMPONENTS core calib3d imgproc highgui stitching optflow photo OPTIONAL_COMPONENTS aruco xfeatures2d nonfree gpu cudafeatures2d)
find_package(OpenCV REQUIRED QUIET COMPONENTS core calib3d imgproc highgui stitching optflow photo video OPTIONAL_COMPONENTS aruco xfeatures2d nonfree gpu cudafeatures2d)
IF(RTABMAP_GUI)
FIND_PACKAGE(PCL 1.7 REQUIRED QUIET COMPONENTS common io kdtree search surface filters registration sample_consensus segmentation visualization)