Skip to content

Commit 0e090cd

Browse files
committed
fix typo
1 parent bd7e42d commit 0e090cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
4949
execute_process(COMMAND git describe --abbrev=4
5050
OUTPUT_VARIABLE GIT_REV)
5151
string(REGEX REPLACE "\n$" "" PACKAGE_VERSION "${GIT_REV}")
52-
elseif()
52+
else()
5353
set(PACKAGE_VERSION ${VERSION_PLAIN})
5454
endif()
5555

@@ -65,6 +65,7 @@ set(MINIMUM_LEPTONICA_VERSION 1.74)
6565
# options
6666
#
6767
###############################################################################
68+
message( "Configuring tesseract version ${PACKAGE_VERSION}...")
6869

6970
option(CPPAN_BUILD "Build with cppan" ON)
7071
option(OPENMP_BUILD "Build with openmp support" OFF) # see issue #1662
@@ -188,7 +189,6 @@ configure_file(
188189
include(BuildFunctions)
189190
include(SourceGroups)
190191

191-
add_definitions(-DHAVE_CONFIG_H)
192192
add_definitions(-D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1)
193193
add_definitions(-DWINDLLNAME="libtesseract${VERSION_MAJOR}${VERSION_MINOR}.dll")
194194

0 commit comments

Comments
 (0)