archrelease: copy trunk to extra-x86_64
[arch-packages.git] / krita / repos / extra-x86_64 / find-xsimd.patch
bloba1f20a3ce326f47a77232c63a68545fdc17bf1ca
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 7d075a7223..6dc88e243a 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -1052,10 +1052,12 @@ list (APPEND ANDROID_EXTRA_LIBS ${LCMS2_LIBRARIES})
6 ##
7 ## Test for xsimd
8 ##
9 -find_package(xsimd 8.1.0)
10 -if(NOT xsimd_FOUND)
11 - find_package(xsimd 9)
12 -endif()
13 +foreach(xsimd_version 8.1.0 9 10)
14 + if(NOT xsimd_FOUND)
15 + find_package(xsimd ${xsimd_version})
16 + endif()
17 +endforeach()
19 set_package_properties(xsimd PROPERTIES
20 DESCRIPTION "C++ wrappers for SIMD intrinsics"
21 URL "https://github.com/xtensor-stack/xsimd"