Skip to content
Snippets Groups Projects
Commit b21ffbf9 authored by Joe Donofry's avatar Joe Donofry
Browse files

Adjust build requirements

This should address comments in Nheko-Reborn#10
parent 8659d011
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.11)
project(matrix_client VERSION 0.2.0 LANGUAGES CXX C)
......@@ -54,7 +54,7 @@ endif()
find_package(OpenSSL REQUIRED)
find_package(ZLIB REQUIRED)
find_package(Olm 2 REQUIRED)
find_package(sodium REQUIRED)
find_package(sodium 1.0.14 REQUIRED)
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_STATIC_RUNTIME OFF)
......
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.11)
project(MTXCLIENT_DEPS)
# Point CMake at any custom modules we may ship
......@@ -33,6 +33,11 @@ option(USE_EXISTING_SRC_DIR
include(ExternalProject)
if(USE_BUNDLED_BOOST)
# bundled boost is 1.68, which requires CMake 3.13 or greater.
cmake_minimum_required(VERSION 3.13)
endif()
set(BOOST_URL
https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.bz2)
set(BOOST_SHA256
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment