From 519cb81044a3934d101bb63d42ddcb18223030b6 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 6 Aug 2020 16:23:41 +0400 Subject: [PATCH] Passthrough DESKTOP_APP_DISABLE_DBUS_INTEGRATION to the code --- options.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/options.cmake b/options.cmake index 80b7405..9925181 100644 --- a/options.cmake +++ b/options.cmake @@ -19,6 +19,13 @@ if (DESKTOP_APP_DISABLE_CRASH_REPORTS) ) endif() +if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION) + target_compile_definitions(common_options + INTERFACE + DESKTOP_APP_DISABLE_DBUS_INTEGRATION + ) +endif() + if (DESKTOP_APP_USE_PACKAGED) target_compile_definitions(common_options INTERFACE