Skip to content

Commit

Permalink
Use C++20 mode on GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Nov 14, 2021
1 parent 2034686 commit 13586e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions init_target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# https://github.com/desktop-app/legal/blob/master/LEGAL

set(MAXIMUM_CXX_STANDARD cxx_std_20)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(MAXIMUM_CXX_STANDARD cxx_std_17)
endif()

function(init_target_folder target_name folder_name)
if (NOT "${folder_name}" STREQUAL "")
Expand Down

0 comments on commit 13586e1

Please sign in to comment.