2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Merge pull request #1325 from boostorg/update_cmake

Update project version and cmake minimum versions, require C++14
This commit is contained in:
Matt Borland
2025-10-03 18:32:49 +02:00
committed by GitHub

View File

@@ -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)