[evolution] I#1216 - Add option to disable build of the 'alarm-notify' module



commit 5a2457dfed9e6211091269205498e260549c05d0
Author: Markus Elfring <elfring users sourceforge net>
Date:   Wed Nov 11 08:21:49 2020 +0100

    I#1216 - Add option to disable build of the 'alarm-notify' module
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1216

 CMakeLists.txt             | 2 ++
 src/modules/CMakeLists.txt | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 18312658de..4c76c86474 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -237,6 +237,8 @@ else(WIN32)
        set(GIO_UNIX_REQUIREMENT "gio-unix-2.0")
 endif(WIN32)
 
+add_printable_option(ENABLE_ALARM_NOTIFY_MODULE "Enable the 'alarm-notify' module" ON)
+
 add_printable_option(ENABLE_GNOME_DESKTOP "Enable GNOME desktop dependency for thumbnails" ON)
 
 if(ENABLE_GNOME_DESKTOP)
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt
index 7c7629ab6b..66e835c2cf 100644
--- a/src/modules/CMakeLists.txt
+++ b/src/modules/CMakeLists.txt
@@ -62,7 +62,6 @@ add_subdirectory(addressbook)
 add_subdirectory(calendar)
 add_subdirectory(mail)
 add_subdirectory(accounts-window)
-add_subdirectory(alarm-notify)
 add_subdirectory(backup-restore)
 add_subdirectory(book-config-carddav)
 add_subdirectory(book-config-google)
@@ -92,6 +91,10 @@ add_subdirectory(vcard-inline)
 add_subdirectory(webkit-editor)
 add_subdirectory(webkit-inspector)
 
+if(ENABLE_ALARM_NOTIFY_MODULE)
+add_subdirectory(alarm-notify)
+endif(ENABLE_ALARM_NOTIFY_MODULE)
+
 if(ENABLE_TEXT_HIGHLIGHT)
        add_subdirectory(text-highlight)
 endif(ENABLE_TEXT_HIGHLIGHT)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]