limit to apple only
All checks were successful
eden-license / license-header (pull_request) Successful in 22s
All checks were successful
eden-license / license-header (pull_request) Successful in 22s
This commit is contained in:
parent
c9c5278028
commit
df1b777860
1 changed files with 4 additions and 1 deletions
|
@ -139,7 +139,6 @@ else()
|
|||
-Wno-invalid-offsetof
|
||||
-Wno-unused-parameter
|
||||
-Wno-missing-field-initializers
|
||||
-Wno-unused-private-field
|
||||
)
|
||||
|
||||
if (CXX_CLANG OR CXX_ICC) # Clang or AppleClang
|
||||
|
@ -166,6 +165,10 @@ 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