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