Get rid of unused DESKTOP_APP_DISABLE_SPELLSHECK
This commit is contained in:
parent
c09c5b61a8
commit
9abd685bf4
1 changed files with 1 additions and 3 deletions
|
|
@ -25,7 +25,6 @@ cmake_dependent_option(DESKTOP_APP_USE_ALLOCATION_TRACER "Use simple allocation
|
||||||
cmake_dependent_option(DESKTOP_APP_USE_PACKAGED_LAZY "Bundle recommended Qt plugins for self-contained packages." OFF LINUX OFF)
|
cmake_dependent_option(DESKTOP_APP_USE_PACKAGED_LAZY "Bundle recommended Qt plugins for self-contained packages." OFF LINUX OFF)
|
||||||
option(DESKTOP_APP_USE_PACKAGED_FONTS "Use preinstalled fonts instead of bundled patched ones." OFF)
|
option(DESKTOP_APP_USE_PACKAGED_FONTS "Use preinstalled fonts instead of bundled patched ones." OFF)
|
||||||
option(DESKTOP_APP_USE_PACKAGED_RLOTTIE "Find rlottie using CMake instead of bundled patched one." OFF)
|
option(DESKTOP_APP_USE_PACKAGED_RLOTTIE "Find rlottie using CMake instead of bundled patched one." OFF)
|
||||||
option(DESKTOP_APP_DISABLE_SPELLCHECK "Disable spellcheck library." OFF)
|
|
||||||
option(DESKTOP_APP_DISABLE_CRASH_REPORTS "Disable crash report generation." ${no_special_target})
|
option(DESKTOP_APP_DISABLE_CRASH_REPORTS "Disable crash report generation." ${no_special_target})
|
||||||
option(DESKTOP_APP_DISABLE_AUTOUPDATE "Disable autoupdate." ${disable_autoupdate})
|
option(DESKTOP_APP_DISABLE_AUTOUPDATE "Disable autoupdate." ${disable_autoupdate})
|
||||||
option(DESKTOP_APP_USE_HUNSPELL_ONLY "Disable system spellchecker and use bundled Hunspell only. (For debugging purposes)" OFF)
|
option(DESKTOP_APP_USE_HUNSPELL_ONLY "Disable system spellchecker and use bundled Hunspell only. (For debugging purposes)" OFF)
|
||||||
|
|
@ -43,10 +42,9 @@ if (APPLE AND NOT DEFINED DESKTOP_APP_MAC_ARCH)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(add_hunspell_library 0)
|
set(add_hunspell_library 0)
|
||||||
if ((WIN32
|
if (WIN32
|
||||||
OR (LINUX AND NOT DESKTOP_APP_USE_ENCHANT)
|
OR (LINUX AND NOT DESKTOP_APP_USE_ENCHANT)
|
||||||
OR DESKTOP_APP_USE_HUNSPELL_ONLY)
|
OR DESKTOP_APP_USE_HUNSPELL_ONLY)
|
||||||
AND NOT DESKTOP_APP_DISABLE_SPELLCHECK)
|
|
||||||
set(add_hunspell_library 1)
|
set(add_hunspell_library 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue