We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c734e2 commit 332a1a9Copy full SHA for 332a1a9
sw.cpp
@@ -62,10 +62,8 @@ void build(Solution &s)
62
if (s.Settings.Native.CompilerType == CompilerType::MSVC ||
63
s.Settings.Native.CompilerType == CompilerType::ClangCl)
64
{
65
- libtesseract["src/arch/dotproductavx.cpp"].args.push_back("-arch:AVX");
66
- libtesseract["src/arch/dotproductsse.cpp"].args.push_back("-D__SSE4_1__");
67
- libtesseract["src/arch/intsimdmatrixavx2.cpp"].args.push_back("-arch:AVX2");
68
- libtesseract["src/arch/intsimdmatrixsse.cpp"].args.push_back("-D__SSE4_1__");
+ libtesseract += "__SSE4_1__"_def;
+ libtesseract.CompileOptions.push_back("-arch:AVX2");
69
}
70
71
libtesseract.Public += "HAVE_CONFIG_H"_d;
0 commit comments