File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ void build(Solution &s)
59
59
" src/classify" _id,
60
60
" src/arch" _id;
61
61
62
- if (s. Settings . Native . CompilerType == CompilerType::MSVC ||
63
- s. Settings . Native . CompilerType == CompilerType::ClangCl)
62
+ if (libtesseract. getCompilerType () == CompilerType::MSVC ||
63
+ libtesseract. getCompilerType () == CompilerType::ClangCl)
64
64
{
65
65
libtesseract += " __SSE4_1__" _def;
66
66
libtesseract.CompileOptions .push_back (" -arch:AVX2" );
@@ -75,7 +75,7 @@ void build(Solution &s)
75
75
libtesseract.Public += " org.sw.demo.danbloomberg.leptonica-master" _dep;
76
76
libtesseract.Public += " org.sw.demo.libarchive.libarchive" _dep;
77
77
78
- if (s. Settings .TargetOS .Type == OSType ::Windows)
78
+ if (libtesseract. getSettings () .TargetOS .Type == OSType ::Windows)
79
79
{
80
80
libtesseract.Public += " ws2_32.lib" _l;
81
81
libtesseract.Protected += " NOMINMAX" _def;
You can’t perform that action at this time.
0 commit comments