]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libwebp/0007-fix-arm-build.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libwebp / 0007-fix-arm-build.patch
1 diff --git a/cmake/cpu.cmake b/cmake/cpu.cmake
2 index da9a42a4..ce7a69f3 100644
3 --- a/cmake/cpu.cmake
4 +++ b/cmake/cpu.cmake
5 @@ -73,7 +73,7 @@ foreach(I_SIMD RANGE ${WEBP_SIMD_FLAGS_RANGE})
6 set(CMAKE_REQUIRED_FLAGS ${SIMD_COMPILE_FLAG})
7 webp_check_compiler_flag(${WEBP_SIMD_FLAG} ${WEBP_ENABLE_SIMD})
8 else()
9 - if(MSVC)
10 + if(MSVC AND NOT (CMAKE_GENERATOR_PLATFORM MATCHES "^ARM"))
11 list(GET SIMD_ENABLE_FLAGS ${I_SIMD} SIMD_COMPILE_FLAG)
12 else()
13 set(SIMD_COMPILE_FLAG " ")