1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

graphics/opencv: fix VTK option

As VTK is built with Qt5 support, bring in the required
dependencies for the build system.

Submitted by:	Oleg Sidorkin <osidorkin@gmail.com>
PR:		261519
This commit is contained in:
Tobias C. Berner 2022-01-28 12:40:44 +01:00
parent 65d44673f0
commit b5ce2eb869
2 changed files with 5 additions and 0 deletions

View File

@ -120,6 +120,8 @@ GTK3_CMAKE_BOOL= WITH_GTK
VTK_DESC= Include VTK library support (build opencv_viz module)
VTK_CMAKE_BOOL= WITH_VTK
VTK_LIB_DEPENDS= libvtkCommonCore-9.1.so:math/vtk9
VTK_USES= qt:5
VTK_USE= QT=buildtools_build,qmake_build
###
# IMAGE group options (GPHOTO2 JPEG OPENEXR PNG TIFF)

View File

@ -719,6 +719,9 @@ lib/libopencv_videoio.so.405
lib/libopencv_videostab.so
lib/libopencv_videostab.so.%%SHLIB_VER%%
lib/libopencv_videostab.so.405
%%VTK%%lib/libopencv_viz.so
%%VTK%%lib/libopencv_viz.so.%%SHLIB_VER%%
%%VTK%%lib/libopencv_viz.so.405
%%PROTOBUF%%lib/libopencv_wechat_qrcode.so
%%PROTOBUF%%lib/libopencv_wechat_qrcode.so.%%SHLIB_VER%%
%%PROTOBUF%%lib/libopencv_wechat_qrcode.so.405