mirror of
https://github.com/rafaelvcaetano/melonDS-android-lib.git
synced 2024-11-23 05:40:09 +00:00
Make clang shut up about -Wno-error=maybe-uninitialized in teakra
This commit is contained in:
parent
b5017caa33
commit
9e449d902d
@ -58,10 +58,14 @@ else()
|
||||
-pedantic
|
||||
-pedantic-errors
|
||||
-Wfatal-errors
|
||||
-Wno-error=maybe-uninitialized
|
||||
-Wno-missing-braces
|
||||
-Wno-unused-parameter)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
list(APPEND TEAKRA_CXX_FLAGS
|
||||
-Wno-error=maybe-uninitialized)
|
||||
endif()
|
||||
|
||||
if (TEAKRA_WARNINGS_AS_ERRORS)
|
||||
list(APPEND TEAKRA_CXX_FLAGS
|
||||
-Werror)
|
||||
|
Loading…
Reference in New Issue
Block a user