diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-24 18:39:26 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-26 16:38:31 +0100 |
commit | d10276253fb9258412d5b23caa54b34c5cde24d1 (patch) | |
tree | d5c14cf370b1939ee6b2ed4bbfa7e712efc42a1d /src/Cache_p.h | |
parent | Port CI to hunter (diff) | |
download | nheko-d10276253fb9258412d5b23caa54b34c5cde24d1.tar.xz |
Fix include of lmdb++ with hunter
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r-- | src/Cache_p.h | 4 |
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> |