Skip to content

Commit

Permalink
1588 try leveldb from deps
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Jan 8, 2024
1 parent ddde155 commit c409cae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ set(CMAKE_PREFIX_PATH "${DEPS_INSTALL_ROOT}")

#leveldb

hunter_add_package(leveldb)
find_package(leveldb CONFIG REQUIRED)
#hunter_add_package(leveldb)
#find_package(leveldb CONFIG REQUIRED)


#set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-Wreturn-type -Winit-self")
Expand Down Expand Up @@ -223,7 +223,8 @@ SET(LINK_LIBRARIES
Threads::Threads
${BOOST_LIBS_4_CONSENSUS}
${LIB_NAME_cryptopp}
leveldb::leveldb
#leveldb::leveldb
leveldb
"${DEPS_INSTALL_ROOT}/lib/libjsonrpccpp-client.a"
"${DEPS_INSTALL_ROOT}/lib/libjsonrpccpp-server.a"
"${DEPS_INSTALL_ROOT}/lib/libmicrohttpd.a"
Expand Down

0 comments on commit c409cae

Please sign in to comment.