blob: 34fe0f9de20223d5138dd0c5e72ee345597b3369 (
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
|
https://github.com/crosswire/xiphos/pull/1103.patch
dbus is not called for the main target, but it should.
diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt
index 4952757..a65a92b 100644
--- a/src/main/CMakeLists.txt
+++ b/src/main/CMakeLists.txt
@@ -77,6 +77,17 @@ target_link_libraries(main
PkgConfig::Biblesync
)
+IF (DBUS)
+ target_include_directories (main
+ PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
+ PkgConfig::DBus
+ )
+ target_link_libraries(main
+ PRIVATE
+ PkgConfig::DBus
+ )
+ENDIF (DBUS)
+
if(WK_FOUND)
target_compile_definitions(main
PRIVATE
|