limit to apple only
This commit is contained in:
parent
68c09d006e
commit
0b4e8df6bd
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