9317df
From ddf72365b7e7c67b2580e328e55de6eb988b8787 Mon Sep 17 00:00:00 2001
9317df
From: Thierry Vignaud <thierry.vignaud@gmail.com>
9317df
Date: Thu, 30 Jan 2020 11:19:20 +0000
9317df
Subject: [PATCH] fix detecting qrcodegen
9317df
9317df
Change-Id: Ib945b57420083489273cefc5655eb50932b5a3f8
9317df
---
9317df
 configure.ac                           |    2 +-
9317df
 cui/source/dialogs/QrCodeGenDialog.cxx |    2 +-
9317df
 2 files changed, 2 insertions(+), 2 deletions(-)
9317df
9317df
diff --git a/configure.ac b/configure.ac
9317df
index 388bee3..c061349 100644
9317df
--- a/configure.ac
9317df
+++ b/configure.ac
9317df
@@ -10092,7 +10092,7 @@ else
9317df
         AC_MSG_RESULT([external])
9317df
         SYSTEM_QRCODEGEN=TRUE
9317df
         AC_LANG_PUSH([C++])
9317df
-        AC_CHECK_HEADER(qrcodegen/QrCode.hpp, [],
9317df
+        AC_CHECK_HEADER(qrcodegencpp/QrCode.hpp, [],
9317df
             [AC_MSG_ERROR(qrcodegen headers not found.)], [#include <stdexcept>])
9317df
         AC_CHECK_LIB([qrcodegencpp], [main], [:],
9317df
             [ AC_MSG_ERROR(qrcodegen C++ library not found.) ], [])
9317df
diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx
9317df
index 6277e76..f8dd327 100644
9317df
--- a/cui/source/dialogs/QrCodeGenDialog.cxx
9317df
+++ b/cui/source/dialogs/QrCodeGenDialog.cxx
9317df
@@ -20,7 +20,7 @@
9317df
 
9317df
 #if ENABLE_QRCODEGEN
9317df
 #if defined(SYSTEM_QRCODEGEN)
9317df
-#include <qrcodegen/QrCode.hpp>
9317df
+#include <qrcodegencpp/QrCode.hpp>
9317df
 #else
9317df
 #include <QrCode.hpp>
9317df
 #endif
9317df
-- 
9317df
2.26.2
9317df