Skip to content

Commit

Permalink
Require OpenCV 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Nov 30, 2021
1 parent 4f1f5e7 commit 6215e08
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/FindOpenCV331.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

# Find OpenCV and fix a 3.3.1 bug
find_package(OpenCV 3 REQUIRED)
find_package(OpenCV 3.3.1 REQUIRED)
if (USE_CTC)
if (${OpenCV_VERSION} MATCHES "3.3.1")
foreach(__cvcomponent ${OpenCV_LIB_COMPONENTS})
Expand Down
2 changes: 1 addition & 1 deletion localization/handrail_detect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ find_package(catkin2 REQUIRED COMPONENTS
)

# Find OpenCV3
find_package(OpenCV 3 REQUIRED)
find_package(OpenCV 3.3.1 REQUIRED)

catkin_package(
LIBRARIES ${PROJECT_NAME}
Expand Down
2 changes: 1 addition & 1 deletion localization/vive_localization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ find_package(Eigen3 REQUIRED)

# Find OpenCV3
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../../cmake")
find_package(OpenCV 3 REQUIRED)
find_package(OpenCV 3.3.1 REQUIRED)

# Non-linear optimizer
find_package(Ceres REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion management/image_sampler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ find_package(catkin2 REQUIRED COMPONENTS
)

# Find OpenCV3
find_package(OpenCV 3 REQUIRED)
find_package(OpenCV 3.3.1 REQUIRED)

catkin_package(
LIBRARIES image_sampler
Expand Down
2 changes: 1 addition & 1 deletion tools/calibration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ find_package(catkin2 REQUIRED COMPONENTS

# Find OpenCV3
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../../cmake")
find_package(OpenCV 3 REQUIRED)
find_package(OpenCV 3.3.1 REQUIRED)

find_package(Eigen3 REQUIRED)

Expand Down

0 comments on commit 6215e08

Please sign in to comment.