Skip to content

Commit a02ef80

Browse files
committed
allow OpenMP in VS2010 LIB_Release
1 parent 66f37f0 commit a02ef80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vs2010/libtesseract/libtesseract.vcxproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ copy "$(TargetPath)" ..\..\..\lib
195195
<ClCompile>
196196
<Optimization>MaxSpeed</Optimization>
197197
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
198-
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
198+
<PreprocessorDefinitions>OPENMP;WIN32;_WINDOWS;NDEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
199199
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
200200
<PrecompiledHeader>
201201
</PrecompiledHeader>
@@ -204,6 +204,7 @@ copy "$(TargetPath)" ..\..\..\lib
204204
</DebugInformationFormat>
205205
<CompileAs>Default</CompileAs>
206206
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
207+
<OpenMPSupport>true</OpenMPSupport>
207208
</ClCompile>
208209
<Lib>
209210
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>

0 commit comments

Comments
 (0)