Zip: Suppress MSVC warnings

For Example:
3rdparty\zlib\src\gzlib.c(235): warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details.

Change-Id: Ifd89210cf782e9bbdbe5253e7dcef613e29e5f1f
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Orgad Shaneh
2024-08-16 15:21:35 +03:00
committed by Orgad Shaneh
parent fb09f85622
commit 318e1ccc09

View File

@@ -41,3 +41,7 @@ extend_qtc_library(Zip
zutil.c
zutil.h
)
if(MSVC)
target_compile_options(Zip PUBLIC /wd4996)
endif()