aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/kdreports/fix-cmake-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/kdreports/fix-cmake-config.patch')
-rw-r--r--vcpkg/ports/kdreports/fix-cmake-config.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/kdreports/fix-cmake-config.patch b/vcpkg/ports/kdreports/fix-cmake-config.patch
new file mode 100644
index 0000000..9bca8c4
--- /dev/null
+++ b/vcpkg/ports/kdreports/fix-cmake-config.patch
@@ -0,0 +1,19 @@
+diff --git a/src/KDReportsConfig.cmake.in b/src/KDReportsConfig.cmake.in
+index fa26517..49b9054 100644
+--- a/src/KDReportsConfig.cmake.in
++++ b/src/KDReportsConfig.cmake.in
+@@ -9,10 +9,10 @@
+
+ include(CMakeFindDependencyMacro)
+
+-find_dependency(Qt@Qt_VERSION_MAJOR@Core @QT_MIN_VERSION@)
+-find_dependency(Qt@Qt_VERSION_MAJOR@Widgets @QT_MIN_VERSION@)
+-find_dependency(Qt@Qt_VERSION_MAJOR@PrintSupport @QT_MIN_VERSION@)
+-find_dependency(Qt@Qt_VERSION_MAJOR@Xml @QT_MIN_VERSION@)
++find_dependency(Qt@QT_VERSION_MAJOR@Core @QT_MIN_VERSION@)
++find_dependency(Qt@QT_VERSION_MAJOR@Widgets @QT_MIN_VERSION@)
++find_dependency(Qt@QT_VERSION_MAJOR@PrintSupport @QT_MIN_VERSION@)
++find_dependency(Qt@QT_VERSION_MAJOR@Xml @QT_MIN_VERSION@)
+
+ if (@KDChart_FOUND@)
+ find_dependency(KDChart)