Commit 69a8fdab authored by Volker Krause's avatar Volker Krause
Browse files

Fix build without ZXing

parent b922233f
Pipeline #42881 passed with stage
in 10 minutes and 30 seconds
......@@ -26,9 +26,11 @@
#define K_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
// this might compile with older versions too, but it only actually works post 1.1.1
#ifdef HAVE_ZXING
#if ZXING_VERSION > K_VERSION_CHECK(1, 1, 1)
#define ZXING_USE_READBARCODE
#endif
#endif
#cmakedefine HAVE_KCAL
#cmakedefine HAVE_LIBXML2
......
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