mirror of https://github.com/odrling/Aegisub
Fix hunspell include and wrap
This commit is contained in:
parent
4576ac0638
commit
18d088c479
|
@ -30,7 +30,7 @@
|
||||||
#include <boost/range/algorithm.hpp>
|
#include <boost/range/algorithm.hpp>
|
||||||
|
|
||||||
#undef near
|
#undef near
|
||||||
#include <hunspell/hunspell.hxx>
|
#include <hunspell.hxx>
|
||||||
|
|
||||||
HunspellSpellChecker::HunspellSpellChecker()
|
HunspellSpellChecker::HunspellSpellChecker()
|
||||||
: lang_listener(OPT_SUB("Tool/Spell Checker/Language", &HunspellSpellChecker::OnLanguageChanged, this))
|
: lang_listener(OPT_SUB("Tool/Spell Checker/Language", &HunspellSpellChecker::OnLanguageChanged, this))
|
||||||
|
|
|
@ -2,8 +2,6 @@ project('Hunspell', 'cpp', version: '1.7.0', meson_version: '>=0.57.0')
|
||||||
|
|
||||||
subdir('src/hunspell')
|
subdir('src/hunspell')
|
||||||
|
|
||||||
inc = include_directories('src')
|
|
||||||
|
|
||||||
hunspell_dep = declare_dependency(link_with: hunspell,
|
hunspell_dep = declare_dependency(link_with: hunspell,
|
||||||
include_directories: inc,
|
include_directories: inc,
|
||||||
compile_args: compile_args)
|
compile_args: compile_args)
|
||||||
|
|
|
@ -21,3 +21,5 @@ endif
|
||||||
|
|
||||||
hunspell = library('hunspell', hunspell_sources,
|
hunspell = library('hunspell', hunspell_sources,
|
||||||
cpp_args: cpp_args + compile_args)
|
cpp_args: cpp_args + compile_args)
|
||||||
|
|
||||||
|
inc = include_directories('.')
|
Loading…
Reference in New Issue