From 2e1412681f31d74d078d532915017a22281bbcc1 Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Thu, 27 Sep 2018 21:15:48 +0200 Subject: [PATCH] CMakeLists: Require OpenCV --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd596fa..c83bb86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ project(wild_thumper) ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) ## is used, also find other catkin packages find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp rospy std_msgs image_transport dynamic_reconfigure message_generation) +find_package(OpenCV) ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) @@ -113,6 +114,7 @@ add_dependencies(path_following ${PROJECT_NAME}_gencfg) ## Specify libraries to link a library or executable target against target_link_libraries(path_following ${catkin_LIBRARIES} + ${OpenCV_LIBS} ) ############# -- 2.39.2