PKGBUILDs/qt6-base/mingw-w64/0002-Fix-finding-D-Bus.patch

25 lines
873 B
Diff
Raw Normal View History

2023-07-19 09:07:25 +02:00
From f597ecb1b6cc9e2bf5ba1bc700657f9503a4c597 Mon Sep 17 00:00:00 2001
2020-10-07 18:30:59 +02:00
From: Martchus <martchus@gmx.net>
Date: Wed, 7 Oct 2020 12:13:37 +0200
2023-07-19 09:07:25 +02:00
Subject: [PATCH 02/12] Fix finding D-Bus
2020-10-07 18:30:59 +02:00
Change-Id: Ie21eb9cbc6b1b5d9c8b34eea46f54718e5926986
---
cmake/FindWrapDBus1.cmake | 3 +++
1 file changed, 3 insertions(+)
2020-10-07 18:30:59 +02:00
diff --git a/cmake/FindWrapDBus1.cmake b/cmake/FindWrapDBus1.cmake
2023-03-31 23:09:26 +02:00
index e2a58790c4..8e0ed81f89 100644
2020-10-07 18:30:59 +02:00
--- a/cmake/FindWrapDBus1.cmake
+++ b/cmake/FindWrapDBus1.cmake
2023-03-31 23:09:26 +02:00
@@ -48,3 +48,6 @@ include(FindPackageHandleStandardArgs)
2020-10-07 18:30:59 +02:00
find_package_handle_standard_args(WrapDBus1 REQUIRED_VARS
DBus1_LIBRARY DBus1_INCLUDE_DIR WrapDBus1_FOUND
VERSION_VAR DBus1_VERSION)
+if(TARGET dbus-1)
+ set_property(TARGET dbus-1 PROPERTY IMPORTED_IMPLIB ${DBus1_LIBRARY})
+endif()
2020-10-07 18:30:59 +02:00
--
2023-06-07 22:12:56 +02:00
2.41.0
2020-10-07 18:30:59 +02:00