summaryrefslogtreecommitdiffstats
path: root/kspell2/plugins/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kspell2/plugins/CMakeLists.txt')
-rw-r--r--kspell2/plugins/CMakeLists.txt12
1 files changed, 3 insertions, 9 deletions
diff --git a/kspell2/plugins/CMakeLists.txt b/kspell2/plugins/CMakeLists.txt
index 062d033d2..d7971e4bb 100644
--- a/kspell2/plugins/CMakeLists.txt
+++ b/kspell2/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 )