diff options
author | Fabian Schuh <mail@xeroc.org> | 2014-01-24 20:48:38 +0800 |
---|---|---|
committer | Fabian Schuh <mail@xeroc.org> | 2014-01-24 20:48:38 +0800 |
commit | b405d62b365f58959382a4bc9aa225d7847e7243 (patch) | |
tree | 85d84d587ca5df9a71e1c57d9d4a04b9408aebcb | |
parent | 3dbed499c33ed22b39735ecfc5da4a0cc4eaa752 (diff) | |
download | dexon-solidity-b405d62b365f58959382a4bc9aa225d7847e7243.tar.gz dexon-solidity-b405d62b365f58959382a4bc9aa225d7847e7243.tar.zst dexon-solidity-b405d62b365f58959382a4bc9aa225d7847e7243.zip |
added pthread to cmake
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e2d1ca8..115258d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ link_directories(../libethereum) 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 cryptopp) target_link_libraries(testeth secp256k1) |