[evolution] M!54 - Add the enumeration of possible values for ENABLE_PLUGINS



commit 917acb26fbe5d1f23959ae615b95490ab2cbb54e
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Sat May 16 01:01:20 2020 +0000

    M!54 - Add the enumeration of possible values for ENABLE_PLUGINS
    
    so that cmake-gui shows a list with those values.
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/54

 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 678e822cb4..71ba53a8d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -607,6 +607,8 @@ CHECK_C_SOURCE_COMPILES("#include <gnu/libc-version.h>
 # ******************************
 
 add_printable_variable(ENABLE_PLUGINS "Enable plugins (no/base/all)" "all")
+set(plugins_values all base no)
+set_property(CACHE ENABLE_PLUGINS PROPERTY STRINGS ${plugins_values})
 
 set(plugins_base
        publish-calendar


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