Skip to content

Commit

Permalink
Update check for CXX version
Browse files Browse the repository at this point in the history
Co-authored-by: vvolkl <[email protected]>
  • Loading branch information
fdplacido and vvolkl committed Jan 19, 2021
1 parent e25ec64 commit b7f0ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")

set(CMAKE_CXX_STANDARD 17 CACHE STRING "")

if(NOT CMAKE_CXX_STANDARD MATCHES "14|17")
if(NOT CMAKE_CXX_STANDARD MATCHES "14|17|20")
message(FATAL_ERROR "Unsupported C++ standard: ${CMAKE_CXX_STANDARD}")
endif()

Expand Down

0 comments on commit b7f0ae4

Please sign in to comment.