all repos — mgba @ 749a9c98c135fe39befde51f5b676dd2326aca3f

mGBA Game Boy Advance Emulator

Third-Party: Disable warnings for minizip
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Aug 2016 23:02:17 -0700
commit

749a9c98c135fe39befde51f5b676dd2326aca3f

parent

ae721309d0865f014914085e44412af6be10728c

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -456,6 +456,10 @@ elseif(USE_ZLIB)

list(APPEND VFS_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/util/vfs/vfs-zip.c ${CMAKE_CURRENT_SOURCE_DIR}/src/third-party/zlib/contrib/minizip/ioapi.c ${CMAKE_CURRENT_SOURCE_DIR}/src/third-party/zlib/contrib/minizip/unzip.c) + set_source_files_properties( + ${CMAKE_CURRENT_SOURCE_DIR}/src/third-party/zlib/contrib/minizip/ioapi.c + ${CMAKE_CURRENT_SOURCE_DIR}/src/third-party/zlib/contrib/minizip/unzip.c + PROPERTIES COMPILE_FLAGS "-Wno-unused-parameter") endif() if (USE_LZMA)