diff --git a/extdep/json-rpc-cpp.cmake b/extdep/json-rpc-cpp.cmake index 28c5f7cf1..ea26851b9 100644 --- a/extdep/json-rpc-cpp.cmake +++ b/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 ) diff --git a/extdep/json-rpc-cpp_osx.patch b/extdep/json-rpc-cpp_osx.patch new file mode 100644 index 000000000..39165530d --- /dev/null +++ b/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)