mirror of
https://github.com/wownero/wownero.git
synced 2026-10-25 10:28:33 +01:00
cmake: remove defunct database selection
This commit is contained in:
@@ -488,15 +488,6 @@ if(SANITIZE)
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address,undefined")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address,undefined")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set default blockchain storage location:
|
|
||||||
# memory was the default in Cryptonote before Monero implemented LMDB, it still works but is unnecessary.
|
|
||||||
# set(DATABASE memory)
|
|
||||||
set(DATABASE lmdb)
|
|
||||||
message(STATUS "Using LMDB as default DB type")
|
|
||||||
set(BLOCKCHAIN_DB DB_LMDB)
|
|
||||||
add_definitions("-DDEFAULT_DB_TYPE=\"lmdb\"")
|
|
||||||
add_definitions("-DBLOCKCHAIN_DB=${BLOCKCHAIN_DB}")
|
|
||||||
|
|
||||||
# Can't install hook in static build on OSX, because OSX linker does not support --wrap
|
# Can't install hook in static build on OSX, because OSX linker does not support --wrap
|
||||||
# On ARM, having libunwind package (with .so's only) installed breaks static link.
|
# On ARM, having libunwind package (with .so's only) installed breaks static link.
|
||||||
# When possible, avoid stack tracing using libunwind in favor of using easylogging++.
|
# When possible, avoid stack tracing using libunwind in favor of using easylogging++.
|
||||||
|
|||||||
Reference in New Issue
Block a user