|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
cmake_minimum_required(VERSION 3.1) |
|
|
|
|
cmake_minimum_required(VERSION 3.11) |
|
|
|
|
project(NHEKO_DEPS) |
|
|
|
|
|
|
|
|
|
# Point CMake at any custom modules we may ship |
|
|
|
@ -30,6 +30,11 @@ option(USE_BUNDLED_LMDBXX "Use the bundled version of lmdbxx." ${USE_BUNDLED}) |
|
|
|
|
option(USE_BUNDLED_MATRIX_CLIENT "Use the bundled version of mtxclient." |
|
|
|
|
${USE_BUNDLED}) |
|
|
|
|
|
|
|
|
|
if(USE_BUNDLED_BOOST) |
|
|
|
|
# bundled boost is 1.68, which requires CMake 3.13 or greater. |
|
|
|
|
cmake_minimum_required(VERSION 3.13) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
include(ExternalProject) |
|
|
|
|
|
|
|
|
|
set(BOOST_URL |
|
|
|
|