Browse Source

added pthread to cmake

cl-refactor
Fabian Schuh 11 years ago
parent
commit
caec1663fd
  1. 3
      eth/CMakeLists.txt
  2. 3
      test/CMakeLists.txt

3
eth/CMakeLists.txt

@ -13,6 +13,9 @@ link_directories(../libethereum)
add_executable(eth ${SRC_LIST}) add_executable(eth ${SRC_LIST})
find_package(Threads REQUIRED)
target_link_libraries(eth ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(eth ethereum) target_link_libraries(eth ethereum)
target_link_libraries(eth leveldb) target_link_libraries(eth leveldb)
target_link_libraries(eth secp256k1) target_link_libraries(eth secp256k1)

3
test/CMakeLists.txt

@ -13,6 +13,9 @@ link_directories(../libethereum)
add_executable(testeth ${SRC_LIST}) add_executable(testeth ${SRC_LIST})
find_package(Threads REQUIRED)
target_link_libraries(testeth ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(testeth ethereum) target_link_libraries(testeth ethereum)
target_link_libraries(testeth cryptopp) target_link_libraries(testeth cryptopp)
target_link_libraries(testeth secp256k1) target_link_libraries(testeth secp256k1)

Loading…
Cancel
Save