Wii: Silence warnings
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Sep 2015 22:19:22 -0700
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -183,8 +183,12 @@ 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)