mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Suppressed MSVC warnings in zlib
This commit is contained in:
parent
23c2275449
commit
d40721e5c0
9
3rdparty/zlib/CMakeLists.txt
vendored
9
3rdparty/zlib/CMakeLists.txt
vendored
@ -10,11 +10,6 @@ include(CheckFunctionExists)
|
||||
include(CheckIncludeFile)
|
||||
include(CheckCSourceCompiles)
|
||||
|
||||
include(CheckTypeSize)
|
||||
include(CheckFunctionExists)
|
||||
include(CheckIncludeFile)
|
||||
include(CheckCSourceCompiles)
|
||||
|
||||
#
|
||||
# Check to see if we have large file support
|
||||
#
|
||||
@ -89,6 +84,10 @@ if(UNIX)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4013")
|
||||
endif()
|
||||
|
||||
set_target_properties(${the_target} PROPERTIES
|
||||
OUTPUT_NAME "${the_target}"
|
||||
DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}"
|
||||
|
Loading…
Reference in New Issue
Block a user