mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix the include path for lmdb from hunter
This commit is contained in:
parent
0704b3cc84
commit
c2898623dd
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue