Link to required libaris for leveldb

master
Unknown 2018-05-09 17:22:59 +02:00
parent cc65df91ee
commit b07df84d68
1 changed files with 5 additions and 1 deletions

View File

@ -73,7 +73,11 @@ endif()
set(leveldb_lib "")
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()
set(postgresql_lib "")