early-access version 2853
This commit is contained in:
11
externals/vcpkg/ports/opencv4/0013-fix-opengl.patch
vendored
Executable file
11
externals/vcpkg/ports/opencv4/0013-fix-opengl.patch
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
--- a/modules/highgui/CMakeLists.txt
|
||||
+++ b/modules/highgui/CMakeLists.txt
|
||||
@@ -271,7 +271,7 @@ if(APPLE)
|
||||
add_apple_compiler_options(${the_module})
|
||||
endif()
|
||||
|
||||
-if(OPENCV_HIGHGUI_BUILTIN_BACKEND STREQUAL "WIN32UI" AND HAVE_OPENGL AND OPENGL_LIBRARIES)
|
||||
+if(HAVE_OPENGL AND OPENGL_LIBRARIES)
|
||||
ocv_target_link_libraries(${the_module} PRIVATE "${OPENGL_LIBRARIES}")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user