Skip to content

Commit

Permalink
[sw] Fix clang-cl build.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Feb 16, 2019
1 parent e54c06f commit 3480f1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sw.cpp
Expand Up @@ -59,7 +59,8 @@ void build(Solution &s)
"src/classify"_id,
"src/arch"_id;

if (s.Settings.Native.CompilerType == CompilerType::MSVC)
if (s.Settings.Native.CompilerType == CompilerType::MSVC ||
s.Settings.Native.CompilerType == CompilerType::ClangCl)
{
libtesseract["src/arch/dotproductavx.cpp"].args.push_back("-arch:AVX");
libtesseract["src/arch/dotproductsse.cpp"].args.push_back("-D__SSE4_1__");
Expand Down

0 comments on commit 3480f1e

Please sign in to comment.