Skip to content

Commit 975672b

Browse files
authored
Merge pull request #1325 from boostorg/update_cmake
Update project version and cmake minimum versions, require C++14
2 parents 4eaf33c + d1eb25c commit 975672b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Distributed under the Boost Software License, Version 1.0.
44
# https://www.boost.org/LICENSE_1_0.txt
55

6-
cmake_minimum_required(VERSION 3.5...3.16)
6+
cmake_minimum_required(VERSION 3.8...3.16)
77

8-
project(boost_math VERSION 1.89.0 LANGUAGES CXX)
8+
project(boost_math VERSION 1.90.0 LANGUAGES CXX)
99

1010
add_library(boost_math INTERFACE)
1111

@@ -45,6 +45,8 @@ else()
4545

4646
endif()
4747

48+
target_compile_features(boost_math INTERFACE cxx_std_14)
49+
4850
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
4951

5052
add_subdirectory(test)

0 commit comments

Comments
 (0)