diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindSolidity.cmake | 2 | ||||
-rw-r--r-- | cmake/UseSolidity.cmake | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cmake/FindSolidity.cmake b/cmake/FindSolidity.cmake index f2086b65..440e7d74 100644 --- a/cmake/FindSolidity.cmake +++ b/cmake/FindSolidity.cmake @@ -7,7 +7,7 @@ # SOLIDITY_INCLUDE_DIRS include(EthUtils) -set(LIBS solidity;lll;evmasm) +set(LIBS solidity;lll;solevmasm) set(Solidity_INCLUDE_DIRS "${SOL_DIR}") diff --git a/cmake/UseSolidity.cmake b/cmake/UseSolidity.cmake index af921b1d..9780464c 100644 --- a/cmake/UseSolidity.cmake +++ b/cmake/UseSolidity.cmake @@ -14,18 +14,18 @@ function(eth_apply TARGET REQUIRED SUBMODULE) target_include_directories(${TARGET} PUBLIC ${Solidity_INCLUDE_DIRS}) - if (${SUBMODULE} STREQUAL "evmasm") + if (${SUBMODULE} STREQUAL "solevmasm") eth_use(${TARGET} ${REQUIRED} Jsoncpp) - target_link_libraries(${TARGET} ${Solidity_EVMASM_LIBRARIES}) + target_link_libraries(${TARGET} ${Solidity_SOLEVMASM_LIBRARIES}) endif() if (${SUBMODULE} STREQUAL "lll") - eth_use(${TARGET} ${REQUIRED} Solidity::evmasm) + eth_use(${TARGET} ${REQUIRED} Solidity::solevmasm) target_link_libraries(${TARGET} ${Solidity_LLL_LIBRARIES}) endif() if (${SUBMODULE} STREQUAL "solidity" OR ${SUBMODULE} STREQUAL "") - eth_use(${TARGET} ${REQUIRED} Dev::soldevcore Solidity::evmasm) + eth_use(${TARGET} ${REQUIRED} Dev::soldevcore Solidity::solevmasm) target_link_libraries(${TARGET} ${Solidity_SOLIDITY_LIBRARIES}) endif() |