diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-12-04 17:11:09 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-12-04 17:11:09 +0800 |
commit | 40cfcd40d7f699ddf30c647886cd0227b567b4b4 (patch) | |
tree | 4b6fc182f8e4a9bb3a9b89e7e746b56d6615c107 /solc/CMakeLists.txt | |
parent | 2a49857ff9990fc451c2c65ade32a3aef8835317 (diff) | |
download | dexon-solidity-40cfcd40d7f699ddf30c647886cd0227b567b4b4.tar.gz dexon-solidity-40cfcd40d7f699ddf30c647886cd0227b567b4b4.tar.zst dexon-solidity-40cfcd40d7f699ddf30c647886cd0227b567b4b4.zip |
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.
Diffstat (limited to 'solc/CMakeLists.txt')
-rw-r--r-- | solc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt index cb88cb48..4c26b416 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() |