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