Skip to content

Commit 3480f1e

Browse files
committed
[sw] Fix clang-cl build.
1 parent e54c06f commit 3480f1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sw.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ void build(Solution &s)
5959
"src/classify"_id,
6060
"src/arch"_id;
6161

62-
if (s.Settings.Native.CompilerType == CompilerType::MSVC)
62+
if (s.Settings.Native.CompilerType == CompilerType::MSVC ||
63+
s.Settings.Native.CompilerType == CompilerType::ClangCl)
6364
{
6465
libtesseract["src/arch/dotproductavx.cpp"].args.push_back("-arch:AVX");
6566
libtesseract["src/arch/dotproductsse.cpp"].args.push_back("-D__SSE4_1__");

0 commit comments

Comments
 (0)