Removed adding Hunspell subdirectory if it is not used.
This commit is contained in:
parent
bc8d01a1cc
commit
6dd044ae16
2 changed files with 11 additions and 1 deletions
4
external/CMakeLists.txt
vendored
4
external/CMakeLists.txt
vendored
|
|
@ -12,7 +12,9 @@ endif()
|
||||||
add_subdirectory(expected)
|
add_subdirectory(expected)
|
||||||
add_subdirectory(ffmpeg)
|
add_subdirectory(ffmpeg)
|
||||||
add_subdirectory(gsl)
|
add_subdirectory(gsl)
|
||||||
add_subdirectory(hunspell)
|
if (add_hunspell_library)
|
||||||
|
add_subdirectory(hunspell)
|
||||||
|
endif()
|
||||||
add_subdirectory(iconv)
|
add_subdirectory(iconv)
|
||||||
add_subdirectory(lz4)
|
add_subdirectory(lz4)
|
||||||
add_subdirectory(openal)
|
add_subdirectory(openal)
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,14 @@ if (DESKTOP_APP_SPECIAL_TARGET STREQUAL ""
|
||||||
set(disable_autoupdate 1)
|
set(disable_autoupdate 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(add_hunspell_library 0)
|
||||||
|
if ((WIN32
|
||||||
|
OR (LINUX AND NOT DESKTOP_APP_USE_ENCHANT)
|
||||||
|
OR DESKTOP_APP_USE_HUNSPELL_ONLY)
|
||||||
|
AND NOT DESKTOP_APP_DISABLE_SPELLCHECK)
|
||||||
|
set(add_hunspell_library 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(build_osx 0)
|
set(build_osx 0)
|
||||||
set(build_macstore 0)
|
set(build_macstore 0)
|
||||||
set(build_winstore 0)
|
set(build_winstore 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue