aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/opencv4/0021-fix-qt-gen-def.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/opencv4/0021-fix-qt-gen-def.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/opencv4/0021-fix-qt-gen-def.patch')
-rw-r--r--vcpkg/ports/opencv4/0021-fix-qt-gen-def.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/opencv4/0021-fix-qt-gen-def.patch b/vcpkg/ports/opencv4/0021-fix-qt-gen-def.patch
new file mode 100644
index 0000000..ee4124f
--- /dev/null
+++ b/vcpkg/ports/opencv4/0021-fix-qt-gen-def.patch
@@ -0,0 +1,13 @@
+diff --git a/modules/highgui/CMakeLists.txt b/modules/highgui/CMakeLists.txt
+index f0a668e..6fafa33 100644
+--- a/modules/highgui/CMakeLists.txt
++++ b/modules/highgui/CMakeLists.txt
+@@ -125,8 +125,6 @@ elseif(HAVE_QT)
+ endif()
+
+ foreach(dt_dep ${qt_deps})
+- add_definitions(${Qt${QT_VERSION_MAJOR}${dt_dep}_DEFINITIONS})
+- include_directories(${Qt${QT_VERSION_MAJOR}${dt_dep}_INCLUDE_DIRS})
+ list(APPEND HIGHGUI_LIBRARIES ${Qt${QT_VERSION_MAJOR}${dt_dep}_LIBRARIES})
+ endforeach()
+ else()