From ac32ee3ec7f960f80442b00e55455661fa94572d Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 6 Apr 2015 02:30:50 +0200 Subject: [PATCH] Nicer build options. --- CMakeLists.txt | 2 +- natspec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bd44091d..90af5122e 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 cdcedca46..56478f93e 100644 --- a/natspec.cpp +++ b/natspec.cpp @@ -19,7 +19,7 @@ * @date 2015 */ -#if !ETH_HEADLESS +#if ETH_GUI #include #include