Downgrade to C++17 on Apple Clang for now.
See https://github.com/ericniebler/range-v3/pull/1570.
This commit is contained in:
parent
c9d1ac50d3
commit
5d6f8ebee3
2 changed files with 2 additions and 1 deletions
|
|
@ -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 STREQUAL "Clang")
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(MAXIMUM_CXX_STANDARD cxx_std_17)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ INTERFACE
|
|||
-Wno-sign-compare
|
||||
-Wno-unknown-attributes
|
||||
-Wno-pragma-system-header-outside-header
|
||||
-Wno-range-loop-analysis
|
||||
)
|
||||
|
||||
if (DESKTOP_APP_SPECIAL_TARGET)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue