From b405d62b365f58959382a4bc9aa225d7847e7243 Mon Sep 17 00:00:00 2001 From: Fabian Schuh Date: Fri, 24 Jan 2014 13:48:38 +0100 Subject: [PATCH] added pthread to cmake --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e2d1ca84..115258d83 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)