diff --git a/cmake/cpu_features.cmake b/cmake/cpu_features.cmake index 07f097761..f63b0c21f 100644 --- a/cmake/cpu_features.cmake +++ b/cmake/cpu_features.cmake @@ -4,6 +4,8 @@ option(CMAKE_POSITION_INDEPENDENT_CODE "" ON) FetchContent_Declare( cpu_features GIT_REPOSITORY https://github.com/google/cpu_features.git - GIT_TAG v0.10.1 + # v0.11.0 plus google/cpu_features#458, which fixes UBSan misaligned loads in + # IsVendor/SetVendor. Switch to v0.12.0 once it is released. + GIT_TAG a1c8a2fcf49d534799b966c63e0b2124cd2f60ae ) FetchContent_MakeAvailable(cpu_features)