From c44fdeb47cf6910f790a5fb2a61ff73d05163b1a Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 13 Aug 2014 22:25:27 -0400 Subject: [PATCH] updated CMakeLists.txt to use precompiled opencv/tesseract libraries by default --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b7ae1d6..40f1071 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,9 +13,9 @@ add_definitions( -DOPENALPR_MAJOR_VERSION=${OPENALPR_MAJOR_VERSION}) add_definitions( -DOPENALPR_MINOR_VERSION=${OPENALPR_MINOR_VERSION}) add_definitions( -DOPENALPR_PATCH_VERSION=${OPENALPR_PATCH_VERSION}) - -SET(OpenCV_DIR "${CMAKE_SOURCE_DIR}/../libraries/opencv/") -SET(Tesseract_DIR "${CMAKE_SOURCE_DIR}/../libraries/tesseract-ocr") +# 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(Tesseract_DIR "${CMAKE_SOURCE_DIR}/../libraries/tesseract-ocr") include_directories( ${Tesseract_DIR}/api