Fix build system macro. Fixes #3334.

This commit is contained in:
Egor Pugin 2021-03-17 01:26:56 +03:00 committed by GitHub
parent 223f356027
commit 4cd56dc5f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,9 @@
#ifndef TESSERACT_API_VERSION_H_
#define TESSERACT_API_VERSION_H_
#define TESSERACT_MAJOR_VERSION @GENERIC_MAJOR_VERSION @
#define TESSERACT_MINOR_VERSION @GENERIC_MINOR_VERSION @
#define TESSERACT_MICRO_VERSION @GENERIC_MICRO_VERSION @
#define TESSERACT_MAJOR_VERSION @GENERIC_MAJOR_VERSION@
#define TESSERACT_MINOR_VERSION @GENERIC_MINOR_VERSION@
#define TESSERACT_MICRO_VERSION @GENERIC_MICRO_VERSION@
#define TESSERACT_VERSION \
(TESSERACT_MAJOR_VERSION << 16 | TESSERACT_MINOR_VERSION << 8 | TESSERACT_MICRO_VERSION)
#define TESSERACT_VERSION_STR "@PACKAGE_VERSION@"