Fix the include path for lmdb from hunter

pull/504/head
Nicolas Werner 4 years ago
parent 0704b3cc84
commit c2898623dd
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 3
      CMakeLists.txt

@ -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()

Loading…
Cancel
Save