aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-04-06 08:30:50 +0800
committerGav Wood <i@gavwood.com>2015-04-06 08:30:50 +0800
commitac32ee3ec7f960f80442b00e55455661fa94572d (patch)
tree4a224b5118178d965a2997c9aaac087466673881
parenta2507495052d39ef4ddfc6fc256b29e063a81eb6 (diff)
downloaddexon-solidity-ac32ee3ec7f960f80442b00e55455661fa94572d.tar
dexon-solidity-ac32ee3ec7f960f80442b00e55455661fa94572d.tar.gz
dexon-solidity-ac32ee3ec7f960f80442b00e55455661fa94572d.tar.bz2
dexon-solidity-ac32ee3ec7f960f80442b00e55455661fa94572d.tar.lz
dexon-solidity-ac32ee3ec7f960f80442b00e55455661fa94572d.tar.xz
dexon-solidity-ac32ee3ec7f960f80442b00e55455661fa94572d.tar.zst
dexon-solidity-ac32ee3ec7f960f80442b00e55455661fa94572d.zip
Nicer build options.
-rw-r--r--CMakeLists.txt2
-rw-r--r--natspec.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bd44091..90af5122 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,7 @@ if (SOLIDITY)
target_link_libraries(testeth solidity)
endif ()
target_link_libraries(testeth testutils)
-if (NOT HEADLESS AND NOT JUSTTESTS)
+if (GUI AND NOT JUSTTESTS)
target_link_libraries(testeth webthree)
target_link_libraries(testeth natspec)
endif()
diff --git a/natspec.cpp b/natspec.cpp
index cdcedca4..56478f93 100644
--- a/natspec.cpp
+++ b/natspec.cpp
@@ -19,7 +19,7 @@
* @date 2015
*/
-#if !ETH_HEADLESS
+#if ETH_GUI
#include <boost/test/unit_test.hpp>
#include <libdevcore/Log.h>