Commit 0e287b70 authored by Volker Krause's avatar Volker Krause
Browse files

Propagate ZXing version so we can do build-time checks with it

parent da098b5f
......@@ -16,6 +16,11 @@
#define KPOPPLER_VERSION ((@POPPLER_VERSION_MAJOR@<<16)|(@POPPLER_VERSION_MINOR@<<8)|(@POPPLER_VERSION_PATCH@))
#cmakedefine HAVE_ZXING
#define ZXING_VERSION_STRING "@ZXing_VERSION@"
#define ZXING_VERSION_MAJOR @ZXing_VERSION_MAJOR@
#define ZXING_VERSION_MINOR @ZXing_VERSION_MINOR@
#define ZXING_VERSION_PATCH @ZXing_VERSION_PATCH@
#define ZXING_VERSION ((@ZXing_VERSION_MAJOR@<<16)|(@ZXing_VERSION_MINOR@<<8)|(@ZXing_VERSION_PATCH@))
#cmakedefine HAVE_KCAL
#cmakedefine HAVE_LIBXML2
......
......@@ -47,7 +47,7 @@ QString ExtractorCapabilities::capabilitiesString()
"Barcode decoder : "
#ifdef HAVE_ZXING
"zxing"
"zxing (" ZXING_VERSION_STRING ")"
#else
"not available"
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment