mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
[ZLIB] Disable a clang warning
This commit is contained in:
parent
4ceb46a700
commit
3523e1a9f3
1 changed files with 3 additions and 0 deletions
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})
|
||||
|
|
Loading…
Reference in a new issue