From 99d198ffb034839e82649f10814210c0374d40d4 Mon Sep 17 00:00:00 2001 From: Paweł Bylica Date: Thu, 17 Aug 2017 15:48:39 +0200 Subject: CMake: Make libs dependencies explicit --- liblll/CMakeLists.txt | 2 +- libsolidity/CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/liblll/CMakeLists.txt b/liblll/CMakeLists.txt index ceaeb6cf..1cc37da3 100644 --- a/liblll/CMakeLists.txt +++ b/liblll/CMakeLists.txt @@ -2,5 +2,5 @@ file(GLOB sources "*.cpp") file(GLOB headers "*.h") add_library(lll ${sources} ${headers}) -target_link_libraries(lll PUBLIC evmasm) +target_link_libraries(lll PUBLIC evmasm devcore) target_include_directories(lll PUBLIC ..) diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt index 5e9c79f0..ebd09c5f 100644 --- a/libsolidity/CMakeLists.txt +++ b/libsolidity/CMakeLists.txt @@ -3,5 +3,5 @@ file(GLOB_RECURSE sources "*.cpp" "../libjulia/*.cpp") file(GLOB_RECURSE headers "*.h" "../libjulia/*.h") add_library(solidity ${sources} ${headers}) -target_link_libraries(solidity PUBLIC evmasm PRIVATE ${Boost_REGEX_LIBRARIES}) +target_link_libraries(solidity PUBLIC evmasm devcore PRIVATE ${Boost_REGEX_LIBRARIES}) target_include_directories(solidity PUBLIC ..) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 92218f1d..6a8a4399 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -3,7 +3,7 @@ list(REMOVE_ITEM sources "${CMAKE_CURRENT_SOURCE_DIR}/fuzzer.cpp") file(GLOB_RECURSE headers "*.h") add_executable(soltest ${sources} ${headers}) -target_link_libraries(soltest PRIVATE soljson solidity lll ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}) +target_link_libraries(soltest PRIVATE soljson solidity lll evmasm devcore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}) add_executable(solfuzzer fuzzer.cpp) target_link_libraries(solfuzzer soljson evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES}) -- cgit