Skip to content

Commit

Permalink
Merge pull request #32592 from vespa-engine/toregge/set-cmake-cxx-sta…
Browse files Browse the repository at this point in the history
…ndard-to-23

Set CMAKE_CXX_STANDARD to 23.
  • Loading branch information
toregge authored Oct 15, 2024
2 parents 8695f02 + f6a766e commit b27fee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic" )

message("-- CMAKE_SHARED_LINKER_FLAGS is ${CMAKE_SHARED_LINKER_FLAGS}")

# Use C++ 20
set(CMAKE_CXX_STANDARD 20)
# Use C++ 23
set(CMAKE_CXX_STANDARD 23)

# Always build shared libs if not explicitly specified
set(BUILD_SHARED_LIBS ON)
Expand Down

0 comments on commit b27fee6

Please sign in to comment.