[evolution] I#1143 - CMake WITH_ENCHANT_VERSION is boolean, should be string



commit f813d8bdd4a015d91e41885b19a7450be8ec3e13
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 9 10:53:10 2020 +0200

    I#1143 - CMake WITH_ENCHANT_VERSION is boolean, should be string
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1143

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 82a968ef8a..b85a20f246 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -285,7 +285,7 @@ pkg_check_variable(EDS_SOURCES_DBUS_SERVICE_NAME evolution-data-server-1.2 sourc
 # Enchant - support both, but better to use the same as the dependencies (gspell, webkitgtk+,...)
 # ******************************
 
-add_printable_option(WITH_ENCHANT_VERSION "Set Enchant version to use, values are: 'auto' (default), 1 or 2" 
"auto")
+add_printable_variable(WITH_ENCHANT_VERSION "Set Enchant version to use, values are: 'auto' (default), 1 or 
2" "auto")
 
 if(WITH_ENCHANT_VERSION STREQUAL "1")
        pkg_check_modules(ENCHANT REQUIRED enchant>=${enchant1_minimum_version})


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