提交 d40721e5 编写于 作者: A Andrey Kamaev

Suppressed MSVC warnings in zlib

上级 23c22754
...@@ -10,11 +10,6 @@ include(CheckFunctionExists) ...@@ -10,11 +10,6 @@ include(CheckFunctionExists)
include(CheckIncludeFile) include(CheckIncludeFile)
include(CheckCSourceCompiles) include(CheckCSourceCompiles)
include(CheckTypeSize)
include(CheckFunctionExists)
include(CheckIncludeFile)
include(CheckCSourceCompiles)
# #
# Check to see if we have large file support # Check to see if we have large file support
# #
...@@ -89,6 +84,10 @@ if(UNIX) ...@@ -89,6 +84,10 @@ if(UNIX)
endif() endif()
endif() endif()
if(MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4013")
endif()
set_target_properties(${the_target} PROPERTIES set_target_properties(${the_target} PROPERTIES
OUTPUT_NAME "${the_target}" OUTPUT_NAME "${the_target}"
DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}" DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册