Skip to content
Snippets Groups Projects
Commit 771e62ea authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Allow optinally cmake 3.11

parent 3ee6026b
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.11...3.13)
set(
......@@ -33,10 +33,17 @@ option(USE_BUNDLED_SODIUM "Use the bundled version of libsodium."
option(USE_BUNDLED_ZLIB "Use the bundled version of zlib."
${HUNTER_ENABLED})
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
project(matrix_client
VERSION 0.3.0
DESCRIPTION "Client API library for Matrix, built on top of Boost.Asio"
HOMEPAGE_URL https://github.com/Nheko-Reborn/mtxclient)
else()
project(matrix_client
VERSION 0.3.0
DESCRIPTION "Client API library for Matrix, built on top of Boost.Asio")
endif()
option(ASAN "Compile with address sanitizers" OFF)
option(BUILD_LIB_TESTS "Build tests" ON)
......
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