mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #7259 from alalek:issue_7232
This commit is contained in:
commit
c1024b112e
3
3rdparty/libpng/CMakeLists.txt
vendored
3
3rdparty/libpng/CMakeLists.txt
vendored
@ -33,7 +33,8 @@ if(ENABLE_NEON)
|
||||
add_definitions(-DPNG_ARM_NEON_OPT=2)
|
||||
endif()
|
||||
|
||||
if(ENABLE_SSE)
|
||||
if(ENABLE_SSE
|
||||
AND (NOT MSVC OR (MSVC_VERSION GREATER 1799))) # MSVS2013+ (issue #7232)
|
||||
list(APPEND lib_srcs contrib/intel/intel_init.c contrib/intel/filter_sse2_intrinsics.c)
|
||||
add_definitions(-DPNG_INTEL_SSE)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user