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:19:40 +0200
commitc66f9211792e21ebeb956747d9643e7e0847a874 (patch)
tree5deb9e311e9f3ae76118a12eca9c11246b8e84b7 /tdespell2
parent70d26004f065c5fd18be00cab17fc93ed231d849 (diff)
downloadtdelibs-c66f9211792e21ebeb956747d9643e7e0847a874.tar.gz
tdelibs-c66f9211792e21ebeb956747d9643e7e0847a874.zip
Add a build option for ispell.
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 )