Add option to use an extra lib directory for LevelDB
This commit is contained in:
parent
340957038f
commit
ea858d86f4
@ -184,6 +184,11 @@ if(ENABLE_LEVELDB)
|
||||
set(USE_LEVELDB TRUE)
|
||||
message(STATUS "LevelDB backend enabled.")
|
||||
include_directories(${LEVELDB_INCLUDE_DIR})
|
||||
|
||||
find_path(LEVELDB_EXTRA_LIBS_INCLUDE_DIR extra_libs/some.lib NO_DEFAULT_PATH)
|
||||
if(LEVELDB_EXTRA_LIBS_INCLUDE_DIR)
|
||||
link_directories(${LEVELDB_EXTRA_LIBS_INCLUDE_DIR})
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "LevelDB not found!")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user