From d1eb25cf9a8626ab4a0a3229851d8ec4f09c4e0d Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Fri, 3 Oct 2025 16:09:52 +0200 Subject: [PATCH] Update project version and cmake minimum versions, require C++14 --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1f6011d9..e5e843c3a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,9 @@ # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt -cmake_minimum_required(VERSION 3.5...3.16) +cmake_minimum_required(VERSION 3.8...3.16) -project(boost_math VERSION 1.89.0 LANGUAGES CXX) +project(boost_math VERSION 1.90.0 LANGUAGES CXX) add_library(boost_math INTERFACE) @@ -45,6 +45,8 @@ else() endif() +target_compile_features(boost_math INTERFACE cxx_std_14) + if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt") add_subdirectory(test)