summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-24 18:39:26 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-26 16:38:31 +0100
commitd10276253fb9258412d5b23caa54b34c5cde24d1 (patch)
treed5c14cf370b1939ee6b2ed4bbfa7e712efc42a1d /src/Cache_p.h
parentPort CI to hunter (diff)
downloadnheko-d10276253fb9258412d5b23caa54b34c5cde24d1.tar.xz
Fix include of lmdb++ with hunter
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h
index 47dd945a..32f2a67d 100644
--- a/src/Cache_p.h
+++ b/src/Cache_p.h
@@ -26,7 +26,11 @@
 #include <QImage>
 #include <QString>
 
+#if __has_include(<lmdbxx/lmdb++.h>)
+#include <lmdbxx/lmdb++.h>
+#else
 #include <lmdb++.h>
+#endif
 #include <nlohmann/json.hpp>
 
 #include <mtx/responses.hpp>