Updated CMakeLists shared library build for Linux

This commit is contained in:
Matt Hill
2014-04-30 22:20:08 -04:00
parent b51b4f61cf
commit 9d9afa37fb

View File

@@ -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
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/")