Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix xsimd assembler version regex for LLVM tools on Windows
Zhou Qiankangd0d13b4c40f4
diff --git a/cmake/modules/xsimd/xsimdMacros.cmake b/cmake/modules/xsimd/xsimdMacros.cmakeindex ae50d8720d..2dfcd106f8 100644--- a/cmake/modules/xsimd/xsimdMacros.cmake+++ b/cmake/modules/xsimd/xsimdMacros.cmake@@ -74,7 +74,8 @@ macro(xsimd_check_assembler)if (_as_result)message(WARNING "'as' returned an error. Unable to detect version.")else()- string(REGEX MATCH "[1-9]\\.[0-9]+(\\.[0-9]+)?" _as_version "${_as_version}")+ # LLVM tools can have multi-digit major versions.+ string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" _as_version "${_as_version}")if(_as_version VERSION_LESS "2.21.0")message(WARNING "Your binutils is too old (${_as_version}) for reliably compiling xsimd.")set(xsimd_IS_CONFIGURATION_VALID FALSE)