mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-01 07:59:05 +08:00
cmake: Don't link pthread on Windows
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
ab953c1d51
commit
315dd9df3f
@ -220,7 +220,7 @@ install (TARGETS combine_lang_model RUNTIME DESTINATION bin
|
||||
########################################
|
||||
|
||||
add_executable (lstmeval lstmeval.cpp)
|
||||
target_link_libraries (lstmeval unicharset_training pthread)
|
||||
target_link_libraries (lstmeval unicharset_training ${LIB_pthread})
|
||||
project_group (lstmeval "Training Tools")
|
||||
install (TARGETS lstmeval RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
|
||||
|
||||
@ -230,7 +230,7 @@ install (TARGETS lstmeval RUNTIME DESTINATION bin LIBRARY DE
|
||||
########################################
|
||||
|
||||
add_executable (lstmtraining lstmtraining.cpp)
|
||||
target_link_libraries (lstmtraining unicharset_training pthread)
|
||||
target_link_libraries (lstmtraining unicharset_training ${LIB_pthread})
|
||||
project_group (lstmtraining "Training Tools")
|
||||
install (TARGETS lstmtraining RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user