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>
(cherry picked from commit 056d9c5d0d)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
r14.0.x
Slávek Banko 4 years ago
parent 1212ebdc0e
commit 9f03b32225

@ -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 ############

Loading…
Cancel
Save