Skip to content

Commit

Permalink
Reverted CXX standard to latest on Apple Clang.
Browse files Browse the repository at this point in the history
Related commit: 5d6f8eb.
  • Loading branch information
23rd authored and john-preston committed Oct 30, 2020
1 parent ed9fa2e commit a7e73eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init_target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://github.com/desktop-app/legal/blob/master/LEGAL

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

Expand Down

0 comments on commit a7e73eb

Please sign in to comment.