diff options
Diffstat (limited to 'libsolidity/CMakeLists.txt')
-rw-r--r-- | libsolidity/CMakeLists.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt index 159405a2..6e1d70af 100644 --- a/libsolidity/CMakeLists.txt +++ b/libsolidity/CMakeLists.txt @@ -11,14 +11,8 @@ file(GLOB HEADERS "*.h") include_directories(BEFORE ..) add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) -add_dependencies(${EXECUTABLE} BuildInfo.h) - -target_link_libraries(${EXECUTABLE} ${JSONCPP_LIBRARIES}) -target_link_libraries(${EXECUTABLE} ${Boost_LIBRARIES}) -target_link_libraries(${EXECUTABLE} ${ETH_DEVCORE_LIBRARY}) -target_link_libraries(${EXECUTABLE} ${ETH_EVMCORE_LIBRARY}) -target_link_libraries(${EXECUTABLE} ${ETH_EVMASM_LIBRARY}) -target_link_libraries(${EXECUTABLE} ${ETH_DEVCRYPTO_LIBRARY}) + +eth_use(${EXECUTABLE} REQUIRED Eth::devcore Eth::evmasm) install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib ) install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} ) |