cmake: Add WITH_DBUS option

This commit is contained in:
Hennadii Stepanov committed 2024-08-16 19:27:42 +01:00
1 parent 5bb5a4bc75
commit 10fcc668a3
3 files changed
+13

No files matched your search

+4
View File
@@ -214,6 +214,10 @@ if(ENABLE_WALLET)
)
endif()
if(WITH_DBUS)
target_link_libraries(bitcoinqt PRIVATE Qt5::DBus)
endif()
if(qt_lib_type STREQUAL "STATIC_LIBRARY")
# We want to define static plugins to link ourselves, thus preventing
# automatic linking against a "sane" set of default static plugins.