aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-11-23 18:39:40 +0800
committerChristian Parpart <christian@ethereum.org>2018-11-23 19:37:37 +0800
commit3734f40d315439f8a791967a6adfda8cf9fd1e55 (patch)
tree6da53fded6fd8a00b52547273441ef6afb8c3db5 /libsolidity
parent713d94476ec5ba61901b538c622c8cca6873c2af (diff)
downloaddexon-solidity-3734f40d315439f8a791967a6adfda8cf9fd1e55.tar
dexon-solidity-3734f40d315439f8a791967a6adfda8cf9fd1e55.tar.gz
dexon-solidity-3734f40d315439f8a791967a6adfda8cf9fd1e55.tar.bz2
dexon-solidity-3734f40d315439f8a791967a6adfda8cf9fd1e55.tar.lz
dexon-solidity-3734f40d315439f8a791967a6adfda8cf9fd1e55.tar.xz
dexon-solidity-3734f40d315439f8a791967a6adfda8cf9fd1e55.tar.zst
dexon-solidity-3734f40d315439f8a791967a6adfda8cf9fd1e55.zip
CMake: Isolate libyul into its own static library
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt
index c57fca16..c40087f0 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")
-file(GLOB_RECURSE headers "*.h" "../libyul/*.h")
+file(GLOB_RECURSE sources "*.cpp")
+file(GLOB_RECURSE headers "*.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 langutil devcore ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})
+target_link_libraries(solidity PUBLIC yul evmasm langutil devcore ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})
if (${Z3_FOUND})
target_link_libraries(solidity PUBLIC ${Z3_LIBRARY})