Debian Codegraph @

vcpkg/overlay_ports/opencv4/0021-fix-qt-gen-def.patch

raw
1 diff --git a/modules/highgui/CMakeLists.txt b/modules/highgui/CMakeLists.txt
2 index f0a668e..6fafa33 100644
3 --- a/modules/highgui/CMakeLists.txt
4 +++ b/modules/highgui/CMakeLists.txt
5 @@ -125,8 +125,6 @@ elseif(HAVE_QT)
6 endif()
7
8 foreach(dt_dep ${qt_deps})
9 - add_definitions(${Qt${QT_VERSION_MAJOR}${dt_dep}_DEFINITIONS})
10 - include_directories(${Qt${QT_VERSION_MAJOR}${dt_dep}_INCLUDE_DIRS})
11 list(APPEND HIGHGUI_LIBRARIES ${Qt${QT_VERSION_MAJOR}${dt_dep}_LIBRARIES})
12 endforeach()
13 else()