mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-11 20:30:04 +08:00
Updated libs to use pthread on Linux
This commit is contained in:
@@ -38,10 +38,14 @@ IF (WIN32)
|
||||
add_definitions( -DNOMINMAX)
|
||||
|
||||
# Extra linker dependencies for Windows
|
||||
SET (Tesseract_LIBRARIES
|
||||
${Tesseract_LIBRARIES}
|
||||
SET (Extra_LIBS
|
||||
ws2_32.lib
|
||||
)
|
||||
ELSE()
|
||||
|
||||
SET (Extra_LIBS
|
||||
pthread
|
||||
)
|
||||
|
||||
ENDIF()
|
||||
|
||||
@@ -55,6 +59,7 @@ TARGET_LINK_LIBRARIES(alpr
|
||||
video
|
||||
${OpenCV_LIBS}
|
||||
${Tesseract_LIBRARIES}
|
||||
${Extra_LIBS}
|
||||
)
|
||||
|
||||
# Compile the alprd library on Unix-based OS
|
||||
@@ -70,6 +75,7 @@ IF (NOT WIN32)
|
||||
log4cplus
|
||||
${OpenCV_LIBS}
|
||||
${Tesseract_LIBRARIES}
|
||||
${Extra_LIBS}
|
||||
)
|
||||
|
||||
# Don't include misc utilities for Windows
|
||||
|
Reference in New Issue
Block a user