summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2024-04-01 18:47:10 +0300
committerDongkyun Son <dongkyun.s@samsung.com>2024-06-24 15:00:13 +0900
commit5445cfe6ed7b164db97b30968a0125fbb0b64fba (patch)
tree34bf4451320b7b1e6474fe8a305908a7c29e8150
parenta1b18d8c24ebacbf452e4c80ff54d18ae4fd81bb (diff)
downloadncnn-5445cfe6ed7b164db97b30968a0125fbb0b64fba.tar.gz
ncnn-5445cfe6ed7b164db97b30968a0125fbb0b64fba.tar.bz2
ncnn-5445cfe6ed7b164db97b30968a0125fbb0b64fba.zip
Change-Id: Ic646b681e7b7ae558763ea64e96af408b18fcbd0 Signed-off-by: Slava Barinov <v.barinov@samsung.com> Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d53bb10..dc98799 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -572,6 +572,11 @@ 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()
+
+ find_library(MVEC_LIB "mvec")
+ if (MVEC_LIB)
+ target_link_libraries(ncnn PRIVATE mvec)
+ endif()
endif()
if(NCNN_TARGET_ARCH STREQUAL "mips")