Skip to content

Commit

Permalink
Added couple of options for spellchecker.
Browse files Browse the repository at this point in the history
  • Loading branch information
23rd committed Feb 24, 2020
1 parent 27b7b99 commit bc8d01a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions variables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bc8d01a

Please sign in to comment.