diff options
author | Paweł Bylica <chfast@gmail.com> | 2017-08-22 22:37:27 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2017-08-22 22:45:57 +0800 |
commit | 15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9 (patch) | |
tree | b5b353813d9b0f97dcb67e089db1da87357259a1 /libdevcore | |
parent | 0dc73913e1b72e89ffdbf05592798d4bbfbf1714 (diff) | |
download | dexon-solidity-15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9.tar dexon-solidity-15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9.tar.gz dexon-solidity-15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9.tar.bz2 dexon-solidity-15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9.tar.lz dexon-solidity-15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9.tar.xz dexon-solidity-15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9.tar.zst dexon-solidity-15fd43f0357e1f3c6ec1262df6ee39b06a6fe3f9.zip |
CMake: Fix linking with pthread
Diffstat (limited to 'libdevcore')
-rw-r--r-- | libdevcore/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/CMakeLists.txt b/libdevcore/CMakeLists.txt index 4b15427f..016d7ea3 100644 --- a/libdevcore/CMakeLists.txt +++ b/libdevcore/CMakeLists.txt @@ -2,7 +2,7 @@ file(GLOB sources "*.cpp") file(GLOB headers "*.h") add_library(devcore ${sources} ${headers}) -target_link_libraries(devcore PRIVATE ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES}) +target_link_libraries(devcore PRIVATE ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} Threads::Threads) target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS}) target_include_directories(devcore PRIVATE ..) add_dependencies(devcore solidity_BuildInfo.h) |