Wii: Ugly warning squelching

This commit is contained in:
Jeffrey Pfau 2015-08-05 23:03:51 -07:00
parent 0cd28060e0
commit eb0366b61e

View File

@ -191,6 +191,7 @@ if(BUILD_BBB OR BUILD_RASPI OR BUILD_PANDORA)
endif()
if(WII)
add_definitions(-U__STRICT_ANSI__)
add_executable(${BINARY_NAME}.elf ${CMAKE_SOURCE_DIR}/src/platform/wii/main.c)
target_link_libraries(${BINARY_NAME}.elf ${BINARY_NAME} ${OS_LIB})
add_custom_command(TARGET ${BINARY_NAME}.elf POST_BUILD COMMAND ${ELF2DOL} ${BINARY_NAME}.elf ${BINARY_NAME}.dol)