Skip to content

Commit

Permalink
cxx 20 version usage according to style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
littlemountainman committed Jan 30, 2025
1 parent e829478 commit 2220223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ endif(NOT CMAKE_C_STANDARD)

# C++ standard can be overridden when this is used as a sub-project.
if(NOT CMAKE_CXX_STANDARD)
# This project requires C++11.
set(CMAKE_CXX_STANDARD 11)
# This project requires C++11. Why? Change proposed as per Google styleguide (01/2025)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif(NOT CMAKE_CXX_STANDARD)
Expand Down

0 comments on commit 2220223

Please sign in to comment.