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:
Lefteris Karapetsas 2015-12-04 10:11:09 +01:00
parent 2a49857ff9
commit 40cfcd40d7

View File

@ -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()