summarylogtreecommitdiffstats
path: root/0002-Fix-finding-D-Bus.patch
blob: 99c69292396ad0c643d339fac9aa32cf190d9b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From f6576a2efd85e14323eacb15725f48351e7c6a40 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Wed, 7 Oct 2020 12:13:37 +0200
Subject: [PATCH 02/17] Fix finding D-Bus

Change-Id: Ie21eb9cbc6b1b5d9c8b34eea46f54718e5926986
---
 cmake/FindWrapDBus1.cmake | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmake/FindWrapDBus1.cmake b/cmake/FindWrapDBus1.cmake
index e2a58790c4e..8e0ed81f893 100644
--- a/cmake/FindWrapDBus1.cmake
+++ b/cmake/FindWrapDBus1.cmake
@@ -48,3 +48,6 @@ include(FindPackageHandleStandardArgs)
 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()
-- 
2.44.0