diff --git a/eth/CMakeLists.txt b/eth/CMakeLists.txt index 087c5314a..274700ee7 100644 --- a/eth/CMakeLists.txt +++ b/eth/CMakeLists.txt @@ -14,6 +14,11 @@ add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) target_link_libraries(${EXECUTABLE} webthree) target_link_libraries(${EXECUTABLE} secp256k1) target_link_libraries(${EXECUTABLE} gmp) + +if(EVMCC) + target_link_libraries(${EXECUTABLE} evmjit) +endif() + if(MINIUPNPC_LS) target_link_libraries(${EXECUTABLE} ${MINIUPNPC_LS}) endif() diff --git a/exp/CMakeLists.txt b/exp/CMakeLists.txt index da6775798..c671f240f 100644 --- a/exp/CMakeLists.txt +++ b/exp/CMakeLists.txt @@ -17,6 +17,10 @@ target_link_libraries(${EXECUTABLE} ${MINIUPNPC_LS}) endif() target_link_libraries(${EXECUTABLE} ${LEVELDB_LS}) +if(EVMCC) + target_link_libraries(${EXECUTABLE} evmjit) +endif() + if ("${TARGET_PLATFORM}" STREQUAL "w64") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++") target_link_libraries(${EXECUTABLE} gcc) diff --git a/neth/CMakeLists.txt b/neth/CMakeLists.txt index 2b3f92947..184fc7104 100644 --- a/neth/CMakeLists.txt +++ b/neth/CMakeLists.txt @@ -24,6 +24,10 @@ if(JSONRPC_LS) target_link_libraries(${EXECUTABLE} ${JSONRPC_LS}) endif() +if(EVMCC) + target_link_libraries(${EXECUTABLE} evmjit) +endif() + if ("${TARGET_PLATFORM}" STREQUAL "w64") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++") target_link_libraries(${EXECUTABLE} gcc)