mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
[sw] Add missing file for arm64. Change branch name.
This commit is contained in:
parent
74e226b228
commit
5781e0d5cf
8
sw.cpp
8
sw.cpp
@ -1,6 +1,6 @@
|
|||||||
void build(Solution &s)
|
void build(Solution &s)
|
||||||
{
|
{
|
||||||
auto &tess = s.addProject("google.tesseract", "master");
|
auto &tess = s.addProject("google.tesseract", "main");
|
||||||
tess += Git("https://github.com/tesseract-ocr/tesseract", "", "{v}");
|
tess += Git("https://github.com/tesseract-ocr/tesseract", "", "{v}");
|
||||||
|
|
||||||
auto cppstd = cpp17;
|
auto cppstd = cpp17;
|
||||||
@ -82,7 +82,13 @@ void build(Solution &s)
|
|||||||
libtesseract["src/arch/intsimdmatrixavx2.cpp"].args.push_back("-mavx2");
|
libtesseract["src/arch/intsimdmatrixavx2.cpp"].args.push_back("-mavx2");
|
||||||
}
|
}
|
||||||
if (!win_or_mingw)
|
if (!win_or_mingw)
|
||||||
|
{
|
||||||
libtesseract += "pthread"_slib;
|
libtesseract += "pthread"_slib;
|
||||||
|
}
|
||||||
|
if (libtesseract.getBuildSettings().TargetOS.Arch == ArchType::aarch64)
|
||||||
|
{
|
||||||
|
libtesseract += "src/arch/dotproductneon.cpp";
|
||||||
|
}
|
||||||
|
|
||||||
libtesseract.Public += "HAVE_CONFIG_H"_d;
|
libtesseract.Public += "HAVE_CONFIG_H"_d;
|
||||||
libtesseract.Public += "_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1"_d;
|
libtesseract.Public += "_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1"_d;
|
||||||
|
Loading…
Reference in New Issue
Block a user