File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
49
49
execute_process (COMMAND git describe --abbrev=4
50
50
OUTPUT_VARIABLE GIT_REV)
51
51
string (REGEX REPLACE "\n $" "" PACKAGE_VERSION "${GIT_REV} " )
52
- elseif ()
52
+ else ()
53
53
set (PACKAGE_VERSION ${VERSION_PLAIN} )
54
54
endif ()
55
55
@@ -65,6 +65,7 @@ set(MINIMUM_LEPTONICA_VERSION 1.74)
65
65
# options
66
66
#
67
67
###############################################################################
68
+ message ( "Configuring tesseract version ${PACKAGE_VERSION} ..." )
68
69
69
70
option (CPPAN_BUILD "Build with cppan" ON )
70
71
option (OPENMP_BUILD "Build with openmp support" OFF ) # see issue #1662
@@ -188,7 +189,6 @@ configure_file(
188
189
include (BuildFunctions)
189
190
include (SourceGroups)
190
191
191
- add_definitions (-DHAVE_CONFIG_H)
192
192
add_definitions (-D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1)
193
193
add_definitions (-DWINDLLNAME="libtesseract${VERSION_MAJOR}${VERSION_MINOR} .dll" )
194
194
You can’t perform that action at this time.
0 commit comments