Link ntdll needed for lmdb on windows

This commit is contained in:
Nicolas Werner 2020-01-25 17:54:25 +01:00
parent 9ebb7c34f4
commit 01ed56d00a

View file

@ -533,6 +533,9 @@ target_link_libraries(nheko PRIVATE
if(USE_BUNDLED_LMDB)
target_link_libraries(nheko PRIVATE liblmdb::lmdb)
if(MSVC)
target_link_libraries(nheko PRIVATE ntdll)
endif()
else()
target_link_libraries(nheko PRIVATE PkgConfig::lmdb)
endif()