mirror of https://github.com/mgba-emu/mgba.git
Wii: Silence warnings
This commit is contained in:
parent
320033e724
commit
2dbaf2edd6
|
@ -183,10 +183,14 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "arm.*")
|
|||
enable_language(ASM)
|
||||
endif()
|
||||
|
||||
if(PSP2)
|
||||
if(PSP2 OR WII)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format")
|
||||
endif()
|
||||
|
||||
if(WII)
|
||||
add_definitions(-U__STRICT_ANSI__)
|
||||
endif()
|
||||
|
||||
include(CheckFunctionExists)
|
||||
check_function_exists(strdup HAVE_STRDUP)
|
||||
check_function_exists(strndup HAVE_STRNDUP)
|
||||
|
|
Loading…
Reference in New Issue