diff options
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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") |