mirror of
https://github.com/opencv/opencv.git
synced 2025-06-10 19:24:07 +08:00
cmake: option to disable GStreamer in G-API
- OPENCV_GAPI_GSTREAMER
This commit is contained in:
parent
5c91f5b71d
commit
02ac6ec81c
@ -300,7 +300,8 @@ if(HAVE_GAPI_ONEVPL)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(HAVE_GSTREAMER)
|
||||
ocv_option(OPENCV_GAPI_GSTREAMER "Build G-API with GStreamer support" HAVE_GSTREAMER)
|
||||
if(HAVE_GSTREAMER AND OPENCV_GAPI_GSTREAMER)
|
||||
if(TARGET opencv_test_gapi)
|
||||
ocv_target_compile_definitions(opencv_test_gapi PRIVATE -DHAVE_GSTREAMER)
|
||||
ocv_target_link_libraries(opencv_test_gapi PRIVATE ocv.3rdparty.gstreamer)
|
||||
|
Loading…
Reference in New Issue
Block a user