aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Schuh <mail@xeroc.org>2014-01-24 20:48:38 +0800
committerFabian Schuh <mail@xeroc.org>2014-01-24 20:48:38 +0800
commitb405d62b365f58959382a4bc9aa225d7847e7243 (patch)
tree85d84d587ca5df9a71e1c57d9d4a04b9408aebcb
parent3dbed499c33ed22b39735ecfc5da4a0cc4eaa752 (diff)
downloaddexon-solidity-b405d62b365f58959382a4bc9aa225d7847e7243.tar.gz
dexon-solidity-b405d62b365f58959382a4bc9aa225d7847e7243.tar.zst
dexon-solidity-b405d62b365f58959382a4bc9aa225d7847e7243.zip
added pthread to cmake
-rw-r--r--CMakeLists.txt3
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)