forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
fb09f85622
commit
318e1ccc09
@@ -41,3 +41,7 @@ extend_qtc_library(Zip
|
||||
zutil.c
|
||||
zutil.h
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
target_compile_options(Zip PUBLIC /wd4996)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user