From db7005965baf04d7f2eb10248127b7121048bf7e Mon Sep 17 00:00:00 2001 From: Slava Barinov Date: Mon, 1 Apr 2024 18:47:10 +0300 Subject: [PATCH] Build: add libmvec to aarch64 build Change-Id: Ic646b681e7b7ae558763ea64e96af408b18fcbd0 Signed-off-by: Slava Barinov --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d53bb10..30de1b2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -572,6 +572,8 @@ if(NCNN_TARGET_ARCH STREQUAL "arm" AND CMAKE_SIZEOF_VOID_P EQUAL 8) # disable this feature for fixing linking atomic builtins issue with old ndk target_compile_options(ncnn PRIVATE -mno-outline-atomics) endif() + + target_link_libraries(ncnn PRIVATE mvec) endif() if(NCNN_TARGET_ARCH STREQUAL "mips") -- 2.7.4