Browse Source

Build fix.

cl-refactor
Gav Wood 10 years ago
parent
commit
780abeed9e
  1. 1
      CMakeLists.txt
  2. 4
      cmake/EthDependencies.cmake

1
CMakeLists.txt

@ -196,6 +196,7 @@ else ()
endif() endif()
if (GUI) if (GUI)
set(GUI ON) set(GUI ON)
set(JSONRPC ON)
else () else ()
set(GUI OFF) set(GUI OFF)
endif () endif ()

4
cmake/EthDependencies.cmake

@ -101,7 +101,7 @@ find_program(ETH_JSON_RPC_STUB jsonrpcstub)
message(" - jsonrpcstub location : ${ETH_JSON_RPC_STUB}") message(" - jsonrpcstub location : ${ETH_JSON_RPC_STUB}")
# do not compile GUI # do not compile GUI
if (NOT HEADLESS) if (GUI)
# we need json rpc to build alethzero # we need json rpc to build alethzero
if (NOT JSON_RPC_CPP_FOUND) if (NOT JSON_RPC_CPP_FOUND)
@ -153,7 +153,7 @@ if (NOT HEADLESS)
endif() endif()
endif() endif()
endif() #HEADLESS endif() #GUI
# use multithreaded boost libraries, with -mt suffix # use multithreaded boost libraries, with -mt suffix
set(Boost_USE_MULTITHREADED ON) set(Boost_USE_MULTITHREADED ON)

Loading…
Cancel
Save