all repos — mgba @ 7fa535380165fdb517433a65f1adec435a941950

mGBA Game Boy Advance Emulator

3DS: Disable -Wformat
Jeffrey Pfau jeffrey@endrift.com
Sat, 22 Aug 2015 17:10:03 -0700
commit

7fa535380165fdb517433a65f1adec435a941950

parent

f160236d500a7c6929ec49218caaf3e6484db704

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -168,6 +168,7 @@ list(APPEND VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-fd.c ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-dirent.c)

file(GLOB OS_SRC ${CMAKE_SOURCE_DIR}/src/platform/posix/*.c) source_group("POSIX-specific code" FILES ${OS_SRC}) elseif(3DS) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format") add_definitions(-DCOLOR_16_BIT -DCOLOR_5_6_5) list(APPEND OS_LIB ctru) file(GLOB OS_SRC ${CMAKE_SOURCE_DIR}/src/platform/3ds/3ds-*.c)