Skip to content

Commit 1681194

Browse files
committed
Use C++20
1 parent 4cda6c7 commit 1681194

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}"
3838
endif()
3939

4040
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
41-
set(CMAKE_CXX_STANDARD 17)
41+
set(CMAKE_CXX_STANDARD 20)
4242
set(CMAKE_CXX_STANDARD_REQUIRED ON)
4343

4444
# Compiler flags

doc/cpp_installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The following section describes building the AMICI C++ library:
1515
Prerequisites:
1616

1717
* CBLAS compatible BLAS library
18-
* a C++17 compatible compiler
18+
* a C++20 compatible compiler
1919
* a C compiler
2020
* Optional:
2121

0 commit comments

Comments
 (0)