Add a check to verify that the spell checker set as the default is enabled for build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/107/head
Slávek Banko 4 years ago
parent c66f921179
commit 056d9c5d0d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1262,7 +1262,11 @@ endif( WITH_HSPELL )
####" default spell checker ##################### ####" default spell checker #####################
set( DEFAULT_SPELL_CHECKER "ISPELL" CACHE STRING "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 ############ ##### enable TDEIconLoader debugging ############

Loading…
Cancel
Save