Fix the include path for lmdb from hunter

This commit is contained in:
Nicolas Werner 2021-03-03 04:26:55 +01:00
parent 0704b3cc84
commit c2898623dd
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -129,6 +129,9 @@ endif()
if(USE_BUNDLED_LMDB) if(USE_BUNDLED_LMDB)
hunter_add_package(lmdb) hunter_add_package(lmdb)
find_package(liblmdb CONFIG REQUIRED) find_package(liblmdb CONFIG REQUIRED)
target_include_directories(liblmdb::lmdb INTERFACE
"${HUNTER_INSTALL_PREFIX}/include/lmdb")
else() else()
find_package(LMDB) find_package(LMDB)
endif() endif()