From a17a5550f82028a329c3bfa620c605360a39f605 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Sun, 12 May 2019 23:23:47 -0400 Subject: [PATCH] Update to newer mtxclient to allow optional static linking --- deps/CMakeLists.txt | 4 ++-- deps/cmake/MatrixClient.cmake | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index eecb5de5..e9fe225f 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -45,9 +45,9 @@ set(BOOST_SHA256 set( MTXCLIENT_URL - https://github.com/Nheko-Reborn/mtxclient/archive/3edf66b9854b496f9fe992660b0d3d66fd8af594.tar.gz) + https://github.com/Nheko-Reborn/mtxclient/archive/d5cc703848b44c1a9c543dc01355b7881f66ea81.tar.gz) set(MTXCLIENT_HASH - 00ce1669fda6362181e887d4a71e69b214b8431c5a2dba054a8095449348718b) + c56b0cfbe15157b96d429dd56dd88b7f6e33a06f670815336c6dd2aade8d54fc) set( TWEENY_URL https://github.com/mobius3/tweeny/archive/b94ce07cfb02a0eb8ac8aaf66137dabdaea857cf.tar.gz diff --git a/deps/cmake/MatrixClient.cmake b/deps/cmake/MatrixClient.cmake index e20c5d22..479c6eb6 100644 --- a/deps/cmake/MatrixClient.cmake +++ b/deps/cmake/MatrixClient.cmake @@ -28,6 +28,7 @@ ExternalProject_Add( -DBUILD_LIB_EXAMPLES=OFF -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} ${BOOST_BUNDLE_ROOT} + -DMTX_STATIC=${MTX_STATIC} ${PLATFORM_FLAGS} ${DEPS_BUILD_DIR}/mtxclient BUILD_COMMAND