summaryrefslogtreecommitdiff
blob: 8e1f81ae32fa3a1844819dd60be9b705223b63ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: compressed_depth_image_transport/CMakeLists.txt
===================================================================
--- compressed_depth_image_transport.orig/CMakeLists.txt
+++ compressed_depth_image_transport/CMakeLists.txt
@@ -5,7 +5,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COM
 #  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror")
 endif()
 
-find_package(OpenCV REQUIRED)
+find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgcodecs opencv_highgui)
 find_package(catkin REQUIRED cv_bridge dynamic_reconfigure image_transport)
 
 # generate the dynamic_reconfigure config file