aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/CMakeLists.txt
diff options
context:
space:
mode:
authormingchuan <mingc@skymizer.com>2018-05-11 11:20:19 +0800
committermingchuan <mingc@skymizer.com>2018-05-11 11:20:19 +0800
commitdbd0a7ed6014f128b92e85ff8a02763efd11eb2a (patch)
tree04766f47019f54957e894fe7e5eeb0cc1318e1a4 /libsolidity/CMakeLists.txt
parent85d417a8c22ba269629906b8e81b415241cf99bf (diff)
downloaddexon-solidity-dbd0a7ed6014f128b92e85ff8a02763efd11eb2a.tar.gz
dexon-solidity-dbd0a7ed6014f128b92e85ff8a02763efd11eb2a.tar.zst
dexon-solidity-dbd0a7ed6014f128b92e85ff8a02763efd11eb2a.zip
Fix link error when using boost shared library
Diffstat (limited to 'libsolidity/CMakeLists.txt')
-rw-r--r--libsolidity/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt
index 97b01c83..0bdec4b4 100644
--- a/libsolidity/CMakeLists.txt
+++ b/libsolidity/CMakeLists.txt
@@ -28,7 +28,7 @@ else()
endif()
add_library(solidity ${sources} ${headers})
-target_link_libraries(solidity PUBLIC evmasm devcore)
+target_link_libraries(solidity PUBLIC evmasm devcore ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})
if (${Z3_FOUND})
target_link_libraries(solidity PUBLIC ${Z3_LIBRARY})