mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 06:50:51 +08:00
updated CMakeLists.txt to use precompiled opencv/tesseract libraries by default
This commit is contained in:
@@ -13,9 +13,9 @@ add_definitions( -DOPENALPR_MAJOR_VERSION=${OPENALPR_MAJOR_VERSION})
|
|||||||
add_definitions( -DOPENALPR_MINOR_VERSION=${OPENALPR_MINOR_VERSION})
|
add_definitions( -DOPENALPR_MINOR_VERSION=${OPENALPR_MINOR_VERSION})
|
||||||
add_definitions( -DOPENALPR_PATCH_VERSION=${OPENALPR_PATCH_VERSION})
|
add_definitions( -DOPENALPR_PATCH_VERSION=${OPENALPR_PATCH_VERSION})
|
||||||
|
|
||||||
|
# Update these values if you are compiling either Tesseract or OpenCV yourself and it is not installed on the system.
|
||||||
SET(OpenCV_DIR "${CMAKE_SOURCE_DIR}/../libraries/opencv/")
|
#SET(OpenCV_DIR "${CMAKE_SOURCE_DIR}/../libraries/opencv/")
|
||||||
SET(Tesseract_DIR "${CMAKE_SOURCE_DIR}/../libraries/tesseract-ocr")
|
#SET(Tesseract_DIR "${CMAKE_SOURCE_DIR}/../libraries/tesseract-ocr")
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${Tesseract_DIR}/api
|
${Tesseract_DIR}/api
|
||||||
|
Reference in New Issue
Block a user