vcpkg/overlay_ports/opencv4/0013-contrib-fix-ogre.patch
raw| 1 | --- a/modules/ovis/CMakeLists.txt |
| 2 | +++ b/modules/ovis/CMakeLists.txt |
| 3 | @@ -27,4 +27,5 @@ ocv_create_module() |
| 4 | ocv_add_samples(opencv_objdetect opencv_aruco) |
| 5 | |
| 6 | ocv_warnings_disable(CMAKE_CXX_FLAGS -Wunused-parameter) |
| 7 | +string(REPLACE "OgreGLSupportStatic" "OgreGLSupport" OGRE_LIBRARIES "${OGRE_LIBRARIES}") |
| 8 | ocv_target_link_libraries(${the_module} ${OGRE_LIBRARIES}) |