You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
566 B
22 lines
566 B
cmake_policy(SET CMP0015 NEW)
|
|
|
|
aux_source_directory(. SRC_LIST)
|
|
|
|
include_directories(../libethereum)
|
|
link_directories(../libethereum)
|
|
|
|
add_executable(eth ${SRC_LIST})
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
target_link_libraries(eth ethereum)
|
|
target_link_libraries(eth miniupnpc)
|
|
target_link_libraries(eth leveldb)
|
|
target_link_libraries(eth ${CRYPTOPP_LIBRARIES})
|
|
target_link_libraries(eth gmp)
|
|
target_link_libraries(eth boost_system)
|
|
target_link_libraries(eth boost_filesystem)
|
|
target_link_libraries(eth ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
install( TARGETS eth DESTINATION bin )
|
|
|
|
|