add to existing icc/clang block
All checks were successful
eden-license / license-header (pull_request) Successful in 24s
All checks were successful
eden-license / license-header (pull_request) Successful in 24s
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
df1b777860
commit
9353cf51e6
1 changed files with 1 additions and 5 deletions
|
@ -141,7 +141,7 @@ else()
|
|||
-Wno-missing-field-initializers
|
||||
)
|
||||
|
||||
if (CXX_CLANG OR CXX_ICC) # Clang or AppleClang
|
||||
if (CXX_CLANG OR CXX_ICC OR CXX_APPLE) # Clang, AppleClang, or Intel C++
|
||||
if (NOT MSVC)
|
||||
add_compile_options(
|
||||
-Werror=shadow-uncaptured-local
|
||||
|
@ -165,10 +165,6 @@ else()
|
|||
add_compile_options("-stdlib=libc++")
|
||||
endif()
|
||||
|
||||
if (CXX_APPLE)
|
||||
add_compile_options(-Wno-unused-private-field)
|
||||
endif()
|
||||
|
||||
# GCC bugs
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "11" AND CXX_GCC)
|
||||
# These diagnostics would be great if they worked, but are just completely broken
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue