]> defiant.homedns.org Git - ros_wild_thumper.git/commitdiff
CMakeLists: Require OpenCV
authorErik Andresen <erik@vontaene.de>
Thu, 27 Sep 2018 19:15:48 +0000 (21:15 +0200)
committerErik Andresen <erik@vontaene.de>
Thu, 27 Sep 2018 19:15:48 +0000 (21:15 +0200)
CMakeLists.txt

index fd596fa7f4a0bb939a568ccd89d9576e5de168c2..c83bb8648ed0db14f9f0709a677064e57bcc71eb 100644 (file)
@@ -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}
 )
 
 #############