summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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 7b1d2c0ce..f936cdf54 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 ############