mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 12:06:51 +08:00
Updated CMakeLists shared library build for Linux
This commit is contained in:
@@ -35,11 +35,12 @@ add_subdirectory(support)
|
||||
add_library(openalpr-static STATIC ${lpr_source_files} )
|
||||
add_library(openalpr SHARED ${lpr_source_files} )
|
||||
|
||||
TARGET_LINK_LIBRARIES(openalpr
|
||||
support
|
||||
${OpenCV_LIBS}
|
||||
${Tesseract_LIBS}
|
||||
)
|
||||
|
||||
IF (WIN32)
|
||||
TARGET_LINK_LIBRARIES(openalpr
|
||||
support
|
||||
${OpenCV_LIBS}
|
||||
${Tesseract_LIBS}
|
||||
)
|
||||
ENDIF()
|
||||
# Add definition for default runtime dir
|
||||
add_definitions(-DDEFAULT_RUNTIME_DIR="${CMAKE_SOURCE_DIR}/../runtime_data/")
|
Reference in New Issue
Block a user