summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-08-19 16:51:24 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-02-03 22:46:07 +0100
commit2779387ef138410ef0e0db26ebe5af31b0719a45 (patch)
tree3a02b0cecf61825c218fb14f2d46e3f6c7da3487 /CMakeLists.txt
parent431ab46758091ea3b8aa133f161a35b312e627b7 (diff)
downloadtdelibs-2779387ef138410ef0e0db26ebe5af31b0719a45.tar.gz
tdelibs-2779387ef138410ef0e0db26ebe5af31b0719a45.zip
Add an ability to specify default spell checker
There is no reason to determine it with operating system basis. Change to use build configuration instead. "ispell" by default, and you can override it. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 70d26004f065c5fd18be00cab17fc93ed231d849)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9955a2a10..cfe804329 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1125,6 +1125,10 @@ if( WITH_HSPELL )
endif( WITH_HSPELL )
+####" default spell checker #####################
+set( DEFAULT_SPELL_CHECKER "ISPELL" CACHE STRING "default spell checker" )
+
+
##### find tools path ###########################
if( NOT WIN32 AND NOT ICEAUTH_PATH )