Skip to content

Commit

Permalink
make CXX 20 standard as per Google 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 4eaf6ed
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?
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 4eaf6ed

Please sign in to comment.