summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-09-18 04:03:55 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-09-27 19:26:19 +0200
commit9f03b32225e2f92e5955b8284e361a69c3b605cb (patch)
treefa66afc9740ac48ed9c649f54ec77deff41bf56b
parent1212ebdc0ef3e020523869d60d1ebb4317de59cf (diff)
downloadtdelibs-r14.0.x.tar.gz
tdelibs-r14.0.x.zip
Add a check to verify that the spell checker set as the default is enabled for build.r14.0.x
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 056d9c5d0d438b28fd3a43fa7a15a26cc84644b5) Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7b1d2c0c..f936cdf5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1181,7 +1181,11 @@ endif( WITH_HSPELL )
####" default spell checker #####################
+
set( DEFAULT_SPELL_CHECKER "ISPELL" CACHE STRING "default spell checker" )
+if( NOT WITH_${DEFAULT_SPELL_CHECKER} )
+ tde_message_fatal( "Spell checker selected as default (${DEFAULT_SPELL_CHECKER}) is not enabled to build." )
+endif()
##### enable TDEIconLoader debugging ############