dev-ros/image_geometry: only link to req ocv modules

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2020-10-19 18:33:46 +02:00
parent 3b80c67d37
commit de690e1e19
3 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Index: image_geometry/CMakeLists.txt
===================================================================
--- image_geometry.orig/CMakeLists.txt
+++ image_geometry/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.2)
project(image_geometry)
find_package(catkin REQUIRED sensor_msgs)
-find_package(OpenCV REQUIRED)
+find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgproc opencv_calib3d)
catkin_package(CATKIN_DEPENDS sensor_msgs
DEPENDS OpenCV

View File

@@ -24,3 +24,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
)"
PATCHES=( "${FILESDIR}/ocv_leak.patch" )

View File

@@ -24,3 +24,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
)"
PATCHES=( "${FILESDIR}/ocv_leak.patch" )