diff --git a/variables.cmake b/variables.cmake index 8d8e71ca..2926fb15 100644 --- a/variables.cmake +++ b/variables.cmake @@ -36,6 +36,9 @@ if (DESKTOP_APP_ENABLE_IPO_OPTIMIZATIONS AND CMAKE_CXX_COMPILER_ID MATCHES "Clan set(DESKTOP_APP_ENABLE_IPO_OPTIMIZATIONS OFF) endif() +option(DESKTOP_APP_USE_HUNSPELL_ONLY "Disable system spellchecker and use bundled Hunspell only. (For debugging purposes)" OFF) +option(DESKTOP_APP_USE_ENCHANT "Use Enchant instead of bundled Hunspell. (Linux only)" OFF) + if (DESKTOP_APP_SPECIAL_TARGET STREQUAL "" OR DESKTOP_APP_SPECIAL_TARGET STREQUAL "uwp" OR DESKTOP_APP_SPECIAL_TARGET STREQUAL "macstore")