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