aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-04-05 23:46:12 +0800
committerGav Wood <i@gavwood.com>2015-04-05 23:46:12 +0800
commit966407f28555d46bddfd76287198615ac1f5cc9b (patch)
treef8abc949b57f6ec13c48f66f459a42187aa6c6ae /CMakeLists.txt
parent8afc2ab1e11b1b2af4b9642c1075b91e2768bb48 (diff)
downloaddexon-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.txt4
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)