aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-19 00:45:23 +0800
committerGitHub <noreply@github.com>2018-12-19 00:45:23 +0800
commite970590675f0d4950e58d93852cd60e4fae98d8c (patch)
tree171bc63a61bc93c9dfb055437e6074e83b7db7f2 /libdevcore
parentd959407f66d91ec5f7b05947193d58ae5b9468a9 (diff)
parent2f698b6efe1b1bb932b238a5dd912b290978ac72 (diff)
downloaddexon-solidity-e970590675f0d4950e58d93852cd60e4fae98d8c.tar.gz
dexon-solidity-e970590675f0d4950e58d93852cd60e4fae98d8c.tar.zst
dexon-solidity-e970590675f0d4950e58d93852cd60e4fae98d8c.zip
Merge pull request #5664 from ethereum/cmakeUpdates
Use imported CMake targets.
Diffstat (limited to 'libdevcore')
-rw-r--r--libdevcore/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/CMakeLists.txt b/libdevcore/CMakeLists.txt
index e2309b16..e68ac10a 100644
--- a/libdevcore/CMakeLists.txt
+++ b/libdevcore/CMakeLists.txt
@@ -30,7 +30,7 @@ set(sources
)
add_library(devcore ${sources})
-target_link_libraries(devcore PRIVATE jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(devcore PUBLIC jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} Threads::Threads)
target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
add_dependencies(devcore solidity_BuildInfo.h)