Updated CMakeLists.txt for Windows builds

This commit is contained in:
Matt Hill
2014-04-30 21:14:52 -05:00
parent 0858369b09
commit b51b4f61cf
3 changed files with 31 additions and 31 deletions

View File

@@ -35,6 +35,11 @@ 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}
)
# Add definition for default runtime dir
add_definitions(-DDEFAULT_RUNTIME_DIR="${CMAKE_SOURCE_DIR}/../runtime_data/")