mirror of
https://github.com/monero-project/monero.git
synced 2025-08-11 14:30:15 -04:00
Only compile BerkeleyDB as an option in non-static
This commit is contained in:
parent
94cb295db4
commit
9519526224
4 changed files with 41 additions and 17 deletions
|
@ -29,16 +29,29 @@
|
|||
set(blockchain_db_sources
|
||||
blockchain_db.cpp
|
||||
lmdb/db_lmdb.cpp
|
||||
)
|
||||
|
||||
if (NOT STATIC)
|
||||
set(blockchain_db_sources
|
||||
${blockchain_db_sources}
|
||||
berkeleydb/db_bdb.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
set(blockchain_db_headers)
|
||||
|
||||
set(blockchain_db_private_headers
|
||||
blockchain_db.h
|
||||
lmdb/db_lmdb.h
|
||||
)
|
||||
|
||||
if (NOT STATIC)
|
||||
set(blockchain_db_private_headers
|
||||
${blockchain_db_private_headers}
|
||||
berkeleydb/db_bdb.h
|
||||
)
|
||||
endif()
|
||||
|
||||
bitmonero_private_headers(blockchain_db
|
||||
${crypto_private_headers})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue