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)
v3.5.13-sru
Slávek Banko 4 years ago
parent 9ffa92f841
commit f5adb79794
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1130,7 +1130,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()
##### find tools path ###########################

Loading…
Cancel
Save