summaryrefslogtreecommitdiffstats
path: root/tdespell2/plugins/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdespell2/plugins/CMakeLists.txt')
-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 )