Browse Source

converted whitespaces to tabs according to style guide; handling if

json-rpc-cpp is not available
cl-refactor
sveneh 10 years ago
parent
commit
0f503f1577
  1. 2
      CMakeLists.txt
  2. 7
      cmake/EthDependencies.cmake

2
CMakeLists.txt

@ -139,7 +139,7 @@ if (NOT LANGUAGES)
add_subdirectory(exp)
endif ()
if(NOT ("${TARGET_PLATFORM}" STREQUAL "w64"))
add_subdirectory(neth)
add_subdirectory(neth)
endif ()
if(QTQML)
add_definitions(-DETH_QTQML)

7
cmake/EthDependencies.cmake

@ -19,9 +19,10 @@ message(" - Jsoncpp header: ${JSONCPP_INCLUDE_DIRS}")
message(" - Jsoncpp lib : ${JSONCPP_LIBRARIES}")
# TODO the JsonRpcCpp package does not yet check for correct version number
find_package (JsonRpcCpp 0.3.2 REQUIRED)
# json-rpc-cpp support is currently not mandatory
find_package (JsonRpcCpp 0.3.2)
if (${JSON_RPC_CPP_FOUND})
message (" - json-rpc-cpp header: ${JSON_RPC_CPP_INCLUDE_DIRS}")
message (" - json-rpc-cpp lib : ${JSON_RPC_CPP_LIBRARIES}")
message (" - json-rpc-cpp header: ${JSON_RPC_CPP_INCLUDE_DIRS}")
message (" - json-rpc-cpp lib : ${JSON_RPC_CPP_LIBRARIES}")
add_definitions(-DETH_JSONRPC)
endif()

Loading…
Cancel
Save