aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gz-gui/dependencies.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/gz-gui/dependencies.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/gz-gui/dependencies.patch')
-rw-r--r--vcpkg/ports/gz-gui/dependencies.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/gz-gui/dependencies.patch b/vcpkg/ports/gz-gui/dependencies.patch
new file mode 100644
index 0000000..ec0be2f
--- /dev/null
+++ b/vcpkg/ports/gz-gui/dependencies.patch
@@ -0,0 +1,30 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c7c7f509..2f2265a0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -81,10 +81,11 @@ set(GZ_TOOLS_VER 2)
+
+ #--------------------------------------
+ # Find QT
+-set(QT_MAJOR_VERSION 5)
+-set(QT_MINOR_VERSION 15)
+-gz_find_package (Qt${QT_MAJOR_VERSION}
+- VERSION ${QT_MAJOR_VERSION}.${QT_MINOR_VERSION}
++set(qt_pkgconfig "Qt5Core Qt5Quick Qt5QuickControls2 Qt5Widgets")
++if(WIN32 OR APPLE)
++set(qt_pkgconfig "")
++endif()
++gz_find_package (Qt5
+ COMPONENTS
+ Core
+ Quick
+@@ -92,8 +93,7 @@ gz_find_package (Qt${QT_MAJOR_VERSION}
+ Widgets
+ Test
+ REQUIRED
+- PKGCONFIG_VER_COMPARISON >=
+- PKGCONFIG "Qt${QT_MAJOR_VERSION}Core Qt${QT_MAJOR_VERSION}Quick Qt${QT_MAJOR_VERSION}QuickControls2 Qt${QT_MAJOR_VERSION}Widgets")
++ PKGCONFIG ${qt_pkgconfig})
+ add_compile_definitions(QT_DISABLE_DEPRECATED_UP_TO=0x050F00)
+
+ set(GZ_GUI_PLUGIN_RELATIVE_INSTALL_DIR