File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ target_compile_definitions (libtesseract
343
343
)
344
344
set_target_properties (libtesseract PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS True )
345
345
endif ()
346
- target_link_libraries (libtesseract ${LIB_Ws2_32} ${LIB_pthread} )
346
+ target_link_libraries (libtesseract PRIVATE ${LIB_Ws2_32} ${LIB_pthread} )
347
347
set_target_properties (libtesseract PROPERTIES VERSION ${VERSION_MAJOR} .${VERSION_MINOR} .${VERSION_PATCH} )
348
348
set_target_properties (libtesseract PROPERTIES SOVERSION ${VERSION_MAJOR} .${VERSION_MINOR} .${VERSION_PATCH} )
349
349
if (WIN32 )
@@ -372,7 +372,7 @@ if (WIN32 AND CLANG AND OPENMP_BUILD)
372
372
# Workaround for "libomp.lib is not automatically added on Windows"
373
373
# see: http://lists.llvm.org/pipermail/openmp-dev/2015-August/000857.html
374
374
# TODO: Find better way how to set Clang OpenMP library for linking on Windows
375
- target_link_libraries (libtesseract "c:\\ Program Files\\ LLVM\\ lib\\ libomp.lib" )
375
+ target_link_libraries (libtesseract PRIVATE "c:\\ Program Files\\ LLVM\\ lib\\ libomp.lib" )
376
376
endif ()
377
377
378
378
########################################
You can’t perform that action at this time.
0 commit comments