From: Erik Andresen Date: Thu, 27 Sep 2018 19:15:48 +0000 (+0200) Subject: CMakeLists: Require OpenCV X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=commitdiff_plain;h=2e1412681f31d74d078d532915017a22281bbcc1 CMakeLists: Require OpenCV --- 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} ) #############