diff options
author | Slava Barinov <v.barinov@samsung.com> | 2024-04-01 18:47:10 +0300 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2024-06-24 15:00:13 +0900 |
commit | 5445cfe6ed7b164db97b30968a0125fbb0b64fba (patch) | |
tree | 34bf4451320b7b1e6474fe8a305908a7c29e8150 | |
parent | a1b18d8c24ebacbf452e4c80ff54d18ae4fd81bb (diff) | |
download | ncnn-5445cfe6ed7b164db97b30968a0125fbb0b64fba.tar.gz ncnn-5445cfe6ed7b164db97b30968a0125fbb0b64fba.tar.bz2 ncnn-5445cfe6ed7b164db97b30968a0125fbb0b64fba.zip |
Build: add libmvec to aarch64 buildtizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20241014.000138accepted/tizen/unified/x/20240819.072051accepted/tizen/unified/toolchain/20241004.101804accepted/tizen/unified/dev/20240821.053529accepted/tizen/unified/20240819.044005accepted/tizen/9.0/unified/20241030.232913tizen_9.0tizenaccepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
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.txt | 5 |
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") |