mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix the build - library is not a module
The Module::Object rule is something only eth_use() and friends can understand. target_link_libraries() on the other hand needs only the actual library object to link to.
This commit is contained in:
parent
2a49857ff9
commit
40cfcd40d7
@ -23,5 +23,5 @@ if (EMSCRIPTEN)
|
||||
eth_use(soljson REQUIRED Solidity::solidity)
|
||||
else()
|
||||
add_library(soljson jsonCompiler.cpp ${HEADERS})
|
||||
target_link_libraries(soljson Solidity::solidity)
|
||||
target_link_libraries(soljson solidity)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user