From 0e090cd2306b87d310038fef63483d69b4298871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Fri, 1 Feb 2019 18:28:47 +0100 Subject: [PATCH] fix typo --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54fa149b63..db48ffa588 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git) execute_process(COMMAND git describe --abbrev=4 OUTPUT_VARIABLE GIT_REV) string(REGEX REPLACE "\n$" "" PACKAGE_VERSION "${GIT_REV}") -elseif() +else() set(PACKAGE_VERSION ${VERSION_PLAIN}) endif() @@ -65,6 +65,7 @@ set(MINIMUM_LEPTONICA_VERSION 1.74) # options # ############################################################################### +message( "Configuring tesseract version ${PACKAGE_VERSION}...") option(CPPAN_BUILD "Build with cppan" ON) option(OPENMP_BUILD "Build with openmp support" OFF) # see issue #1662 @@ -188,7 +189,6 @@ configure_file( include(BuildFunctions) include(SourceGroups) -add_definitions(-DHAVE_CONFIG_H) add_definitions(-D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1) add_definitions(-DWINDLLNAME="libtesseract${VERSION_MAJOR}${VERSION_MINOR}.dll")