Link to required libaris for leveldb

This commit is contained in:
Unknown 2018-05-09 17:22:59 +02:00
parent cc65df91ee
commit b07df84d68

View File

@ -74,6 +74,10 @@ endif()
set(leveldb_lib "") set(leveldb_lib "")
if(USE_LEVELDB) if(USE_LEVELDB)
set(leveldb_lib ${LEVELDB_LIBRARY}) set(leveldb_lib ${LEVELDB_LIBRARY})
if(WIN32)
# the leveld database driver requires PathFileExistsW which is in the Shlwapi library
set(leveldb_lib ${LEVELDB_LIBRARY} "Shlwapi.lib")
endif(WIN32)
endif() endif()
set(postgresql_lib "") set(postgresql_lib "")