From ef8dce5d608eb27d9904b228502bd42bc30cfee6 Mon Sep 17 00:00:00 2001 From: Tymat Date: Tue, 11 Mar 2014 15:49:26 -0400 Subject: [PATCH] Fix DSO missing from command line by adding lpthread to linker --- libethereum/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libethereum/CMakeLists.txt b/libethereum/CMakeLists.txt index 89b33a905..d8497471c 100644 --- a/libethereum/CMakeLists.txt +++ b/libethereum/CMakeLists.txt @@ -49,6 +49,7 @@ elseif (UNIX) target_link_libraries(ethereum ${Boost_DATE_TIME_LIBRARY}) target_link_libraries(ethereum leveldb) target_link_libraries(ethereum snappy) + target_link_libraries(ethereum pthread) else () target_link_libraries(ethereum ${CRYPTOPP_LIBRARIES}) target_link_libraries(ethereum boost_system)