diff options
author | Christian Parpart <christian@ethereum.org> | 2018-11-15 00:15:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-11-22 02:58:36 +0800 |
commit | 80371e2d25ce3eb868d6f75b99a54af9dc6c1583 (patch) | |
tree | c921bff4bb9769b06e3b848dac06c25c0de44fa5 /libsolidity | |
parent | 2518b5314c0c16dcdbbc0b093f5b716e9e85dbc2 (diff) | |
download | dexon-solidity-80371e2d25ce3eb868d6f75b99a54af9dc6c1583.tar dexon-solidity-80371e2d25ce3eb868d6f75b99a54af9dc6c1583.tar.gz dexon-solidity-80371e2d25ce3eb868d6f75b99a54af9dc6c1583.tar.bz2 dexon-solidity-80371e2d25ce3eb868d6f75b99a54af9dc6c1583.tar.lz dexon-solidity-80371e2d25ce3eb868d6f75b99a54af9dc6c1583.tar.xz dexon-solidity-80371e2d25ce3eb868d6f75b99a54af9dc6c1583.tar.zst dexon-solidity-80371e2d25ce3eb868d6f75b99a54af9dc6c1583.zip |
Ensure liblangutil is compiled and linked as its own static library.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt index 5f261f64..c57fca16 100644 --- a/libsolidity/CMakeLists.txt +++ b/libsolidity/CMakeLists.txt @@ -1,6 +1,6 @@ # Until we have a clear separation, libyul has to be included here -file(GLOB_RECURSE sources "*.cpp" "../libyul/*.cpp" "../liblangutil/*.cpp") -file(GLOB_RECURSE headers "*.h" "../libyul/*.h" "../liblangutil/*.h") +file(GLOB_RECURSE sources "*.cpp" "../libyul/*.cpp") +file(GLOB_RECURSE headers "*.h" "../libyul/*.h") find_package(Z3 QUIET) if (${Z3_FOUND}) @@ -26,7 +26,7 @@ if (NOT (${Z3_FOUND} OR ${CVC4_FOUND})) endif() add_library(solidity ${sources} ${headers}) -target_link_libraries(solidity PUBLIC evmasm devcore ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY}) +target_link_libraries(solidity PUBLIC evmasm langutil devcore ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY}) if (${Z3_FOUND}) target_link_libraries(solidity PUBLIC ${Z3_LIBRARY}) |