diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/kf5dbusaddons/fix_static_build.patch | |
Diffstat (limited to 'vcpkg/ports/kf5dbusaddons/fix_static_build.patch')
| -rw-r--r-- | vcpkg/ports/kf5dbusaddons/fix_static_build.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/kf5dbusaddons/fix_static_build.patch b/vcpkg/ports/kf5dbusaddons/fix_static_build.patch new file mode 100644 index 0000000..70dd9bf --- /dev/null +++ b/vcpkg/ports/kf5dbusaddons/fix_static_build.patch @@ -0,0 +1,16 @@ +diff --git a/KF5DBusAddonsConfig.cmake.in b/KF5DBusAddonsConfig.cmake.in +index 8d8cea5..7770236 100644 +--- a/KF5DBusAddonsConfig.cmake.in ++++ b/KF5DBusAddonsConfig.cmake.in +@@ -6,9 +6,9 @@ find_dependency(Qt@QT_MAJOR_VERSION@DBus @REQUIRED_QT_VERSION@) + if(NOT @BUILD_SHARED_LIBS@) + # Qt5::DBus target will have been defined by the find_dependency() call above + # at the time where this file is used +- if(TARGET Qt5::DBus) ++ if(@Qt5X11Extras_FOUND@) + find_dependency(Qt5X11Extras @REQUIRED_QT_VERSION@) +- else() ++ elseif(@Qt6Gui_FOUND@) + find_dependency(Qt6Gui @REQUIRED_QT_VERSION@) # qtx11extras_p.h + endif() + endif() |