2021-02-04 18:12:25 +01:00
|
|
|
From 4e3120dee97c10cf61c3b796b5d353e172c33c75 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
|
2020-11-07 00:36:08 +01:00
|
|
|
Subject: [PATCH 2/7] Fix finding D-Bus
|
2020-10-07 18:30:59 +02:00
|
|
|
|
|
|
|
Change-Id: Ie21eb9cbc6b1b5d9c8b34eea46f54718e5926986
|
|
|
|
---
|
2021-01-04 18:06:29 +01:00
|
|
|
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
|
2021-01-04 18:06:29 +01:00
|
|
|
index e227d224e0..bdbcab9eb3 100644
|
2020-10-07 18:30:59 +02:00
|
|
|
--- a/cmake/FindWrapDBus1.cmake
|
|
|
|
+++ b/cmake/FindWrapDBus1.cmake
|
2021-01-04 18:06:29 +01:00
|
|
|
@@ -45,3 +45,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)
|
2021-01-04 18:06:29 +01:00
|
|
|
+if(TARGET dbus-1)
|
|
|
|
+ set_property(TARGET dbus-1 PROPERTY IMPORTED_IMPLIB ${DBus1_LIBRARY})
|
|
|
|
+endif()
|
2020-10-07 18:30:59 +02:00
|
|
|
--
|
2021-01-04 18:06:29 +01:00
|
|
|
2.30.0
|
2020-10-07 18:30:59 +02:00
|
|
|
|