Warning, /graphics/krita/3rdparty/ext_webp/0007-fix-arm-build.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/cmake/cpu.cmake b/cmake/cpu.cmake 0002 index bc0dbc9..381f64a 100644 0003 --- a/cmake/cpu.cmake 0004 +++ b/cmake/cpu.cmake 0005 @@ -97,7 +97,7 @@ foreach(I_SIMD RANGE ${WEBP_SIMD_FLAGS_RANGE}) 0006 set(CMAKE_REQUIRED_FLAGS ${SIMD_COMPILE_FLAG}) 0007 webp_check_compiler_flag(${WEBP_SIMD_FLAG} ${WEBP_ENABLE_SIMD}) 0008 else() 0009 - if(MSVC AND SIMD_ENABLE_FLAGS) 0010 + if(MSVC AND SIMD_ENABLE_FLAGS AND NOT (CMAKE_GENERATOR_PLATFORM MATCHES "^ARM")) 0011 # The detection for SSE2/SSE4 support under MSVC is based on the compiler 0012 # version so e.g., clang-cl will require flags to enable the assembly. 0013 list(GET SIMD_ENABLE_FLAGS ${I_SIMD} SIMD_COMPILE_FLAG)