Fix include of lmdb++ with hunter

This commit is contained in:
Nicolas Werner 2020-01-24 18:39:26 +01:00
parent 8a21c5942b
commit d10276253f
2 changed files with 8 additions and 0 deletions

View file

@ -22,7 +22,11 @@
#include <QImage> #include <QImage>
#include <QString> #include <QString>
#if __has_include(<lmdbxx/lmdb++.h>)
#include <lmdbxx/lmdb++.h>
#else
#include <lmdb++.h> #include <lmdb++.h>
#endif
#include <mtx/responses.hpp> #include <mtx/responses.hpp>

View file

@ -26,7 +26,11 @@
#include <QImage> #include <QImage>
#include <QString> #include <QString>
#if __has_include(<lmdbxx/lmdb++.h>)
#include <lmdbxx/lmdb++.h>
#else
#include <lmdb++.h> #include <lmdb++.h>
#endif
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
#include <mtx/responses.hpp> #include <mtx/responses.hpp>