Merge branch 'feature/568-static-libbitcoin' into 'develop'
Draft: #568 Static Link Libbitcoin See merge request PBSA/peerplays!254
This commit is contained in:
commit
500ac335f5
2 changed files with 9 additions and 2 deletions
|
|
@ -122,7 +122,8 @@ LIST(APPEND BOOST_COMPONENTS thread
|
||||||
chrono
|
chrono
|
||||||
unit_test_framework
|
unit_test_framework
|
||||||
context
|
context
|
||||||
locale)
|
locale
|
||||||
|
regex)
|
||||||
SET( Boost_USE_STATIC_LIBS ON CACHE STRING "ON or OFF" )
|
SET( Boost_USE_STATIC_LIBS ON CACHE STRING "ON or OFF" )
|
||||||
|
|
||||||
IF( WIN32 )
|
IF( WIN32 )
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,13 @@ endif()
|
||||||
unset(ENABLE_PEERPLAYS_ASSET_DEPOSITS)
|
unset(ENABLE_PEERPLAYS_ASSET_DEPOSITS)
|
||||||
unset(ENABLE_PEERPLAYS_ASSET_DEPOSITS CACHE)
|
unset(ENABLE_PEERPLAYS_ASSET_DEPOSITS CACHE)
|
||||||
|
|
||||||
target_link_libraries( peerplays_sidechain PRIVATE curl graphene_plugin sha3 zmq bitcoin-system bitcoin-protocol bitcoin-client bitcoin-explorer )
|
target_link_libraries( peerplays_sidechain PRIVATE curl graphene_plugin sha3 zmq
|
||||||
|
/usr/local/lib/libbitcoin-explorer.a
|
||||||
|
/usr/local/lib/libbitcoin-client.a
|
||||||
|
/usr/local/lib/libbitcoin-system.a
|
||||||
|
/usr/local/lib/libbitcoin-protocol.a
|
||||||
|
/usr/local/lib/libbitcoin-network.a
|
||||||
|
/usr/local/lib/libboost_regex.a )
|
||||||
target_include_directories( peerplays_sidechain
|
target_include_directories( peerplays_sidechain
|
||||||
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue