diff options
author | Gav Wood <i@gavwood.com> | 2015-04-05 23:46:12 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-04-05 23:46:12 +0800 |
commit | 966407f28555d46bddfd76287198615ac1f5cc9b (patch) | |
tree | f8abc949b57f6ec13c48f66f459a42187aa6c6ae /CMakeLists.txt | |
parent | 8afc2ab1e11b1b2af4b9642c1075b91e2768bb48 (diff) | |
download | dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar.gz dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar.zst dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.zip |
Allow Solidity build to be disabled.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 01681dbe..5bd44091 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,9 @@ target_link_libraries(testeth ${CURL_LIBRARIES}) target_link_libraries(testeth ethereum) target_link_libraries(testeth ethcore) target_link_libraries(testeth secp256k1) -target_link_libraries(testeth solidity) +if (SOLIDITY) + target_link_libraries(testeth solidity) +endif () target_link_libraries(testeth testutils) if (NOT HEADLESS AND NOT JUSTTESTS) target_link_libraries(testeth webthree) |