Browse Source

We should search for jsonrpcstub headless or not

cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
f36b043f9f
  1. 7
      cmake/EthDependencies.cmake

7
cmake/EthDependencies.cmake

@ -95,6 +95,10 @@ find_package (CURL)
message(" - curl header: ${CURL_INCLUDE_DIRS}")
message(" - curl lib : ${CURL_LIBRARIES}")
# find location of jsonrpcstub
find_program(ETH_JSON_RPC_STUB jsonrpcstub)
message(" - jsonrpcstub location : ${ETH_JSON_RPC_STUB}")
# do not compile GUI
if (NOT HEADLESS)
@ -130,9 +134,6 @@ if (NOT HEADLESS)
string(REGEX REPLACE "npm" "" ETH_NPM_DIRECTORY ${ETH_NPM})
message(" - npm location : ${ETH_NPM}")
find_program(ETH_JSON_RPC_STUB jsonrpcstub)
message(" - jsonrpcstub location : ${ETH_JSON_RPC_STUB}")
endif() #HEADLESS
# use multithreaded boost libraries, with -mt suffix

Loading…
Cancel
Save