summaryrefslogtreecommitdiffstats
path: root/tdespell2
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-09-18 03:53:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-09-27 19:26:18 +0200
commit1212ebdc0ef3e020523869d60d1ebb4317de59cf (patch)
treec9381644e9b24da3b657a01080439ce1006a8e63 /tdespell2
parent49d24215b1e2557e6d0687bf4f90e6b04a0e33cb (diff)
downloadtdelibs-1212ebdc0ef3e020523869d60d1ebb4317de59cf.tar.gz
tdelibs-1212ebdc0ef3e020523869d60d1ebb4317de59cf.zip
Add a build option for ispell.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c66f9211792e21ebeb956747d9643e7e0847a874) Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdespell2')
-rw-r--r--tdespell2/plugins/CMakeLists.txt12
1 files changed, 3 insertions, 9 deletions
diff --git a/tdespell2/plugins/CMakeLists.txt b/tdespell2/plugins/CMakeLists.txt
index 062d033d2..d7971e4bb 100644
--- a/tdespell2/plugins/CMakeLists.txt
+++ b/tdespell2/plugins/CMakeLists.txt
@@ -9,12 +9,6 @@
#
#################################################
-if( WITH_ASPELL )
- add_subdirectory( aspell )
-endif(WITH_ASPELL)
-
-if( WITH_HSPELL )
- add_subdirectory( hspell )
-endif(WITH_HSPELL)
-
-add_subdirectory( ispell )
+tde_conditional_add_subdirectory( WITH_ASPELL aspell )
+tde_conditional_add_subdirectory( WITH_HSPELL hspell )
+tde_conditional_add_subdirectory( WITH_ISPELL ispell )