mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 19:43:39 +08:00
[ZLIB] Disable a clang warning
This commit is contained in:
3
sdk/lib/3rdparty/zlib/CMakeLists.txt
vendored
3
sdk/lib/3rdparty/zlib/CMakeLists.txt
vendored
@@ -31,6 +31,9 @@ list(APPEND MINIZIP_SOURCE
|
||||
contrib/minizip/zip.c
|
||||
contrib/minizip/zip.h)
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
add_compile_options(-Wno-deprecated-non-prototype)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
add_library(zlib ${SOURCE} ${SOLO_SOURCE})
|
||||
|
||||
Reference in New Issue
Block a user