Bump required boost and cmake version to match mtxclient

pull/100/head
Nicolas Werner 5 years ago
parent b8f6e4ce64
commit 610e4dbe90
  1. 4
      .ci/install.sh
  2. 2
      CMakeLists.txt
  3. 4
      README.md
  4. 1
      appveyor.yml
  5. 12
      deps/CMakeLists.txt

@ -31,8 +31,8 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then
QT_PKG="59" QT_PKG="59"
fi fi
wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh wget https://cmake.org/files/v3.15/cmake-3.15.5-Linux-x86_64.sh
sudo sh cmake-3.12.2-Linux-x86_64.sh --skip-license --prefix=/usr/local sudo sh cmake-3.15.5-Linux-x86_64.sh --skip-license --prefix=/usr/local
mkdir -p build-libsodium mkdir -p build-libsodium
( cd build-libsodium ( cd build-libsodium

@ -259,7 +259,7 @@ include(FeatureSummary)
set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_STATIC_RUNTIME OFF) set(Boost_USE_STATIC_RUNTIME OFF)
set(Boost_USE_MULTITHREADED ON) set(Boost_USE_MULTITHREADED ON)
find_package(Boost 1.66 REQUIRED find_package(Boost 1.70 REQUIRED
COMPONENTS atomic COMPONENTS atomic
chrono chrono
date_time date_time

@ -92,11 +92,11 @@ sudo port install nheko
- Qt5 (5.8 or greater). Qt 5.7 adds support for color font rendering with - Qt5 (5.8 or greater). Qt 5.7 adds support for color font rendering with
Freetype, which is essential to properly support emoji, 5.8 adds some features Freetype, which is essential to properly support emoji, 5.8 adds some features
to make interopability with Qml easier. to make interopability with Qml easier.
- CMake 3.1 or greater. - CMake 3.15 or greater. (Lower version may work, but may break boost linking)
- [mtxclient](https://github.com/Nheko-Reborn/mtxclient) - [mtxclient](https://github.com/Nheko-Reborn/mtxclient)
- [LMDB](https://symas.com/lightning-memory-mapped-database/) - [LMDB](https://symas.com/lightning-memory-mapped-database/)
- [cmark](https://github.com/commonmark/cmark) - [cmark](https://github.com/commonmark/cmark)
- Boost 1.66 or greater. - Boost 1.70 or greater.
- [libolm](https://git.matrix.org/git/olm) - [libolm](https://git.matrix.org/git/olm)
- [libsodium](https://github.com/jedisct1/libsodium) - [libsodium](https://github.com/jedisct1/libsodium)
- [spdlog](https://github.com/gabime/spdlog) - [spdlog](https://github.com/gabime/spdlog)

@ -34,6 +34,7 @@ install:
lmdb:%PLATFORM%-windows lmdb:%PLATFORM%-windows
openssl:%PLATFORM%-windows openssl:%PLATFORM%-windows
zlib:%PLATFORM%-windows zlib:%PLATFORM%-windows
- vcpkg upgrade --no-dry-run
build_script: build_script:
# VERSION format: branch-master/branch-1.2 # VERSION format: branch-master/branch-1.2

@ -33,23 +33,23 @@ option(USE_BUNDLED_JSON "Use the bundled version of nlohmann json." ${USE_BUNDLE
option(MTX_STATIC "Compile / link bundled mtx client statically" OFF) option(MTX_STATIC "Compile / link bundled mtx client statically" OFF)
if(USE_BUNDLED_BOOST) if(USE_BUNDLED_BOOST)
# bundled boost is 1.68, which requires CMake 3.12 or greater. # bundled boost is 1.70, which requires CMake 3.15 or greater.
cmake_minimum_required(VERSION 3.12) cmake_minimum_required(VERSION 3.15)
endif() endif()
include(ExternalProject) include(ExternalProject)
set(BOOST_URL set(BOOST_URL
https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.bz2) https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.bz2)
set(BOOST_SHA256 set(BOOST_SHA256
8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406) 430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778)
set( set(
MTXCLIENT_URL MTXCLIENT_URL
https://github.com/Nheko-Reborn/mtxclient/archive/f719236b08d373d9508f2467bbfc6dfa953b1f8d.zip https://github.com/Nheko-Reborn/mtxclient/archive/e5ece22157d73f516267098dafab2e9e320932a0.zip
) )
set(MTXCLIENT_HASH set(MTXCLIENT_HASH
0660756c16cf297e02b0b29c07a59fc851723cc65f305893ae7238e6dd2e41c8) 5cf55ae82e09548d4d097b8b380fa61515e742d65a20c4d124eec55029cdc7ab)
set( set(
TWEENY_URL TWEENY_URL
https://github.com/mobius3/tweeny/archive/b94ce07cfb02a0eb8ac8aaf66137dabdaea857cf.tar.gz https://github.com/mobius3/tweeny/archive/b94ce07cfb02a0eb8ac8aaf66137dabdaea857cf.tar.gz

Loading…
Cancel
Save