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