From 1656e7573e043e28e2c73697ce0b6466aa0c7cc3 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 21 Jun 2023 14:14:53 +0000 Subject: [PATCH] gapi: fix static build with openvino --- modules/gapi/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gapi/CMakeLists.txt b/modules/gapi/CMakeLists.txt index b9f2c11a2f..31322d533a 100644 --- a/modules/gapi/CMakeLists.txt +++ b/modules/gapi/CMakeLists.txt @@ -254,6 +254,7 @@ ocv_target_link_libraries(${the_module} PRIVATE ade) if(TARGET ocv.3rdparty.openvino AND OPENCV_GAPI_WITH_OPENVINO) ocv_target_link_libraries(${the_module} PRIVATE ocv.3rdparty.openvino) + ocv_install_used_external_targets(ocv.3rdparty.openvino) endif() if(HAVE_TBB)