Browse Source

use CMAKE_THREAD_LIBS_INIT for unix environment so you can pass pthread library if needed

cl-refactor
Tymat 11 years ago
parent
commit
699ceda748
  1. 2
      libethereum/CMakeLists.txt

2
libethereum/CMakeLists.txt

@ -49,7 +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)
target_link_libraries(ethereum ${CMAKE_THREAD_LIBS_INIT})
else ()
target_link_libraries(ethereum ${CRYPTOPP_LIBRARIES})
target_link_libraries(ethereum boost_system)

Loading…
Cancel
Save