Browse Source

jsonrpccpp 0.2.1 with patch for osx 10.9

cl-refactor
Marek Kotewicz 10 years ago
committed by sveneh
parent
commit
888bdd03dc
  1. 4
      extdep/json-rpc-cpp.cmake
  2. 9
      extdep/json-rpc-cpp_osx.patch

4
extdep/json-rpc-cpp.cmake

@ -1,9 +1,9 @@
ExternalProject_Add(json-rpc-cpp
DEPENDS curl
GIT_REPOSITORY https://github.com/cinemast/libjson-rpc-cpp.git
GIT_TAG eaca2481e2889d5a5b748383fb02b1d395969cd4
GIT_TAG 0.2.1
BINARY_DIR json-rpc-cpp-prefix/src/json-rpc-cpp
CONFIGURE_COMMAND cmake -DCMAKE_INSTALL_PREFIX=${ETH_DEPENDENCY_INSTALL_DIR} -DCMAKE_MODULE_PATH:PATH=${CMAKE_CURRENT_SOURCE_DIR} -DETH_DEPENDENCY_INSTALL_DIR:PATH=${ETH_DEPENDENCY_INSTALL_DIR} -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev .
CONFIGURE_COMMAND patch -d src/example < ${CMAKE_CURRENT_SOURCE_DIR}/json-rpc-cpp_osx.patch && cmake -DCMAKE_INSTALL_PREFIX=${ETH_DEPENDENCY_INSTALL_DIR} -DCMAKE_MODULE_PATH:PATH=${CMAKE_CURRENT_SOURCE_DIR} -DETH_DEPENDENCY_INSTALL_DIR:PATH=${ETH_DEPENDENCY_INSTALL_DIR} -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev .
BUILD_COMMAND make jsonrpc -j 3
INSTALL_COMMAND make install
)

9
extdep/json-rpc-cpp_osx.patch

@ -0,0 +1,9 @@
--- ./src/example/CMakeLists.txt 2014-11-12 17:20:52.000000000 +0100
+++ CMakeListsPatch.txt 2014-11-12 17:26:42.000000000 +0100
@@ -12,6 +12,3 @@
add_executable(stubserversample stubserver.cpp)
target_link_libraries(stubserversample jsonrpc)
-
-add_executable(xbmcremote xbmcremote.cpp)
-target_link_libraries(xbmcremote jsonrpc)
Loading…
Cancel
Save