1
0
Fork 0

Reverted CXX standard to latest on Apple Clang.

Related commit: 5d6f8ebee3.
This commit is contained in:
23rd 2020-10-26 04:14:24 +03:00 committed by John Preston
parent ed9fa2e798
commit a7e73ebc03

View file

@ -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()