diff options
author | chriseth <chris@ethereum.org> | 2018-05-14 17:19:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 17:19:55 +0800 |
commit | 7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5 (patch) | |
tree | 9690063dfe254a5e4e804419616a33065a05320c | |
parent | 43803b1a51e6f7e34d8371f27aa0d3ac0732d3b1 (diff) | |
parent | dbd0a7ed6014f128b92e85ff8a02763efd11eb2a (diff) | |
download | dexon-solidity-7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5.tar dexon-solidity-7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5.tar.gz dexon-solidity-7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5.tar.bz2 dexon-solidity-7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5.tar.lz dexon-solidity-7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5.tar.xz dexon-solidity-7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5.tar.zst dexon-solidity-7a669b39ed538c0b3c4e1aea049ca921e9c4a5a5.zip |
Merge pull request #4120 from sifmelcara/fix/shared-boost
Fix link error when linking to boost shared library
-rw-r--r-- | libsolidity/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lllc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/tools/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 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}) diff --git a/lllc/CMakeLists.txt b/lllc/CMakeLists.txt index 5c480093..d6538ee2 100644 --- a/lllc/CMakeLists.txt +++ b/lllc/CMakeLists.txt @@ -1,5 +1,5 @@ add_executable(lllc main.cpp) -target_link_libraries(lllc PRIVATE lll) +target_link_libraries(lllc PRIVATE lll ${Boost_SYSTEM_LIBRARY}) if (INSTALL_LLLC) include(GNUInstallDirs) diff --git a/test/tools/CMakeLists.txt b/test/tools/CMakeLists.txt index febb0c26..11714017 100644 --- a/test/tools/CMakeLists.txt +++ b/test/tools/CMakeLists.txt @@ -1,5 +1,5 @@ add_executable(solfuzzer fuzzer.cpp) -target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES}) +target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_SYSTEM_LIBRARIES}) add_executable(isoltest isoltest.cpp ../Options.cpp ../libsolidity/SyntaxTest.cpp ../libsolidity/AnalysisFramework.cpp) target_link_libraries(isoltest PRIVATE libsolc solidity evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}) |