From 4b547df7d1a855c5f8b3ca3075889cb70cea5159 Mon Sep 17 00:00:00 2001 From: Alexandre Pretyman Date: Fri, 17 Nov 2017 14:19:24 -0200 Subject: [PATCH] Added target Qt5::Widgets to opencv_highgui target --- cmake/templates/OpenCVConfig.cmake.in | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/templates/OpenCVConfig.cmake.in b/cmake/templates/OpenCVConfig.cmake.in index 5039cc3a4473..3120010ae5ac 100644 --- a/cmake/templates/OpenCVConfig.cmake.in +++ b/cmake/templates/OpenCVConfig.cmake.in @@ -343,6 +343,7 @@ endif() if("@Qt5Widgets_FOUND@") find_dependency(Qt5Widgets) + _qt_cmake_extra_helpers_add_interface(opencv_highgui Qt5::Widgets) if(NOT "@BUILD_SHARED_LIBS@") # function from Hunter's QtCMakeExtra project _qt_cmake_extra_helpers_add_source(