mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 14:44:11 +02:00
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>
15 lines
477 B
Diff
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()
|