aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-02-10 05:39:01 +0800
committerGav Wood <i@gavwood.com>2015-02-10 05:39:01 +0800
commitfe515b467a27ad695c0ce26ef785b86776259998 (patch)
treefea4fb481e48a5786f6abb0e6a04dd6f468abf6b /CMakeLists.txt
parent8ef74ae2e388aea2624d2407f9c3642caef8a357 (diff)
downloaddexon-solidity-fe515b467a27ad695c0ce26ef785b86776259998.tar
dexon-solidity-fe515b467a27ad695c0ce26ef785b86776259998.tar.gz
dexon-solidity-fe515b467a27ad695c0ce26ef785b86776259998.tar.bz2
dexon-solidity-fe515b467a27ad695c0ce26ef785b86776259998.tar.lz
dexon-solidity-fe515b467a27ad695c0ce26ef785b86776259998.tar.xz
dexon-solidity-fe515b467a27ad695c0ce26ef785b86776259998.tar.zst
dexon-solidity-fe515b467a27ad695c0ce26ef785b86776259998.zip
Fixed #988.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 36876eea..ab8afcd7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,9 +21,10 @@ target_link_libraries(testeth ethereum)
target_link_libraries(testeth ethcore)
target_link_libraries(testeth secp256k1)
target_link_libraries(testeth solidity)
-target_link_libraries(testeth webthree)
-target_link_libraries(testeth natspec)
-
+if (NOT HEADLESS)
+ target_link_libraries(testeth webthree)
+ target_link_libraries(testeth natspec)
+endif()
if (JSONRPC)
target_link_libraries(testeth web3jsonrpc)
target_link_libraries(testeth ${JSON_RPC_CPP_CLIENT_LIBRARIES})