* fixes #319 * adds -Wno-deprecated-declarations to miniaudio on clang
This commit is contained in:
parent
511d827e7e
commit
8051ca2b6d
|
|
@ -12,3 +12,9 @@ target_sources(miniaudio PRIVATE
|
|||
miniaudio.c
|
||||
|
||||
)
|
||||
|
||||
if (CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
target_compile_options(miniaudio PRIVATE
|
||||
-Wno-deprecated-declarations
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -31,10 +31,7 @@ else()
|
|||
-Wno-unused-but-set-variable
|
||||
-Wno-unused-variable
|
||||
-Wno-unused-result
|
||||
-Wno-error=sign-compare
|
||||
-Wno-error=format-overflow
|
||||
-Wno-error=unused-but-set-variable # (SelectRaceDraw::test2), etc
|
||||
-Wno-format-overflow
|
||||
-Wno-absolute-value
|
||||
-Wstrict-prototypes
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue