vcpkg/ports/opencv4/0013-contrib-fix-ogre.patch

9 lines
364 B
Diff
Raw Permalink Normal View History

2023-08-25 01:20:15 +02:00
--- a/modules/ovis/CMakeLists.txt
+++ b/modules/ovis/CMakeLists.txt
2024-11-12 08:08:28 +01:00
@@ -27,4 +27,5 @@ ocv_create_module()
ocv_add_samples(opencv_objdetect opencv_aruco)
2023-08-25 01:20:15 +02:00
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wunused-parameter)
+string(REPLACE "OgreGLSupportStatic" "OgreGLSupport" OGRE_LIBRARIES "${OGRE_LIBRARIES}")
ocv_target_link_libraries(${the_module} ${OGRE_LIBRARIES})