Skip to content

Commit

Permalink
Check for opencv3 or opencv4.
Browse files Browse the repository at this point in the history
  • Loading branch information
hgaiser committed Feb 1, 2019
1 parent 33f59e5 commit b66ee6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cv_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ if(NOT ANDROID)
else()
find_package(Boost REQUIRED)
endif()
find_package(OpenCV 3 REQUIRED

find_package(OpenCV REQUIRED
COMPONENTS
opencv_core
opencv_imgproc
Expand Down

0 comments on commit b66ee6c

Please sign in to comment.