gentoo-ebuilds/media-libs/opencv/files/opencv_contrib-4.8.1-rgbd.patch
Paul Zander 0e9205edb9
media-libs/opencv: add 4.8.1-r1
Closes: https://bugs.gentoo.org/702258
Closes: https://bugs.gentoo.org/830294
Closes: https://bugs.gentoo.org/883375
Closes: https://bugs.gentoo.org/913740
Closes: https://bugs.gentoo.org/914922
Closes: https://bugs.gentoo.org/917121
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-10 12:32:37 +00:00

15 lines
477 B
Diff

From: Paul Zander <negril.nx+gentoo@gmail.com>
Fixes compilation when using GLVND.
diff --git a/modules/rgbd/CMakeLists.txt b/modules/rgbd/CMakeLists.txt
index 79e1562..eaebc3a 100644
--- a/modules/rgbd/CMakeLists.txt
+++ b/modules/rgbd/CMakeLists.txt
@@ -7,5 +7,5 @@ if(NOT HAVE_EIGEN)
endif()
if(HAVE_OPENGL)
- ocv_target_link_libraries(${the_module} PRIVATE "${OPENGL_LIBRARIES}")
+ ocv_target_link_libraries(${the_module} PRIVATE "${OPENGL_LIBRARIES}" GL)
endif()