aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: 0923fbbee401375172f974b4dab3776616320cf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cmake_policy(SET CMP0015 NEW)

aux_source_directory(. SRC_LIST)

include_directories(../../secp256k1/include)
link_directories(../../secp256k1)

include_directories(../../cryptopp562)
link_directories(../../cryptopp562)

include_directories(../libethereum)
link_directories(../libethereum)

add_executable(testeth ${SRC_LIST})

find_package(Threads REQUIRED)

target_link_libraries(testeth ethereum)
target_link_libraries(testeth miniupnpc)
target_link_libraries(testeth cryptopp)
target_link_libraries(testeth secp256k1)
target_link_libraries(testeth gmp)
target_link_libraries(testeth boost_system)
target_link_libraries(testeth boost_filesystem)
target_link_libraries(testeth ${CMAKE_THREAD_LIBS_INIT})