Skip to content

Commit

Permalink
Updated CMakeLists shared library build for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
matthill committed May 1, 2014
1 parent b51b4f6 commit 9d9afa3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/openalpr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/")

0 comments on commit 9d9afa3

Please sign in to comment.