Fix CI/CD build
This commit is contained in:
parent
6c2bf868c5
commit
34df0c0754
2 changed files with 6 additions and 9 deletions
|
|
@ -42,11 +42,9 @@ 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_directories( peerplays_sidechain PUBLIC ${SHA3IUF_link_dirs} )
|
target_link_libraries( peerplays_sidechain PRIVATE graphene_plugin sha3 zmq )
|
||||||
target_link_libraries( peerplays_sidechain PRIVATE graphene_plugin zmq ${SHA3IUF_libraries} )
|
target_include_directories( peerplays_sidechain
|
||||||
target_include_directories( peerplays_sidechain PUBLIC
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
||||||
"${SHA3IUF_include_dirs}" )
|
|
||||||
|
|
||||||
install( TARGETS
|
install( TARGETS
|
||||||
peerplays_sidechain
|
peerplays_sidechain
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,15 @@
|
||||||
file(GLOB HEADERS "include/sha3/*.h")
|
file(GLOB HEADERS "include/sha3/*.h")
|
||||||
|
|
||||||
add_library( sha3
|
add_library( sha3
|
||||||
memzero.c
|
memzero.c
|
||||||
sha3.c
|
sha3.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories( sha3 PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include )
|
target_include_directories( sha3 PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include )
|
||||||
target_compile_definitions( sha3 PUBLIC USE_KECCAK=1 )
|
target_compile_definitions( sha3 PUBLIC USE_KECCAK=1 )
|
||||||
|
|
||||||
install( TARGETS
|
install( TARGETS
|
||||||
sha3
|
sha3
|
||||||
|
|
||||||
RUNTIME DESTINATION bin
|
RUNTIME DESTINATION bin
|
||||||
LIBRARY DESTINATION lib
|
LIBRARY DESTINATION lib
|
||||||
ARCHIVE DESTINATION lib
|
ARCHIVE DESTINATION lib
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue