Skip to content

Commit

Permalink
adjusted darnet_ros cmakelist.txt to fit my opencv_3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
marcostrullato committed Nov 7, 2020
1 parent f4c96de commit 0c87be7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions darknet_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ endif ( X11_FOUND )

# Find rquired packeges
find_package(Boost REQUIRED COMPONENTS thread)
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
find_package(OpenCV 3.4.0 REQUIRED PATHS "/opt/opencv/3.4.0")
include_directories("/opt/opencv/3.4.0/include/opencv2")
find_package(catkin REQUIRED
COMPONENTS
cv_bridge
Expand Down

0 comments on commit 0c87be7

Please sign in to comment.