From 40cfcd40d7f699ddf30c647886cd0227b567b4b4 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Fri, 4 Dec 2015 10:11:09 +0100 Subject: [PATCH] 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. --- solc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt index cb88cb481..4c26b4166 100644 --- a/solc/CMakeLists.txt +++ b/solc/CMakeLists.txt @@ -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()