Skip to content

Commit

Permalink
#276: cmake: force 17 standard NOMERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jan 13, 2023
1 parent d0b2408 commit 8105706
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14 CACHE STRING "The C++ standard to use")
set(CMAKE_CXX_STANDARD 17 CACHE STRING "The C++ standard to use")
endif()
message(STATUS "CMAKE_CXX_STANDARD: ${CMAKE_CXX_STANDARD}")

Expand Down
2 changes: 1 addition & 1 deletion cmake/load_bundled_libraries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include(SetCXXCompilerFlags)

# Export a minimum version flag for any bundled libraries that don't set their own
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)

# Optionally include libfort which is used by diagnostics
if (vt_libfort_enabled)
Expand Down

0 comments on commit 8105706

Please sign in to comment.