From 1212ebdc0ef3e020523869d60d1ebb4317de59cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 18 Sep 2020 03:53:44 +0200 Subject: Add a build option for ispell. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit c66f9211792e21ebeb956747d9643e7e0847a874) Signed-off-by: Slávek Banko --- tdespell2/plugins/CMakeLists.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'tdespell2/plugins') 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 ) -- cgit v1.2.1