diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-09-18 04:03:55 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-09-27 19:19:56 +0200 |
commit | 056d9c5d0d438b28fd3a43fa7a15a26cc84644b5 (patch) | |
tree | 36bdc6d8e0fad540919a3b50d807050427cdebb5 | |
parent | c66f9211792e21ebeb956747d9643e7e0847a874 (diff) | |
download | tdelibs-056d9c5d0d438b28fd3a43fa7a15a26cc84644b5.tar.gz tdelibs-056d9c5d0d438b28fd3a43fa7a15a26cc84644b5.zip |
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>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d06c9a4f..1807c474d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1262,7 +1262,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 ############ |