mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 20:39:36 +08:00
fix
Former-commit-id: 162878ec45e3cd98555f08a1d3cf7fc343aa477a
This commit is contained in:
parent
241320fb50
commit
0ed96e5f2f
@ -47,6 +47,10 @@ set(db_libs
|
||||
|
||||
if(${BUILD_FAISS_WITH_MKL} STREQUAL "ON")
|
||||
set(db_libs ${db_libs} ${MKL_LIBS} ${MKL_LIBS})
|
||||
else()
|
||||
set(db_libs ${db_libs}
|
||||
lapack
|
||||
openblas)
|
||||
endif()
|
||||
|
||||
target_link_libraries(db_test ${db_libs} ${unittest_libs})
|
||||
|
@ -36,6 +36,10 @@ set(wrapper_libs
|
||||
)
|
||||
if(${BUILD_FAISS_WITH_MKL} STREQUAL "ON")
|
||||
set(wrapper_libs ${wrapper_libs} ${MKL_LIBS} ${MKL_LIBS})
|
||||
else()
|
||||
set(wrapper_libs ${wrapper_libs}
|
||||
lapack
|
||||
openblas)
|
||||
endif()
|
||||
|
||||
target_link_libraries(wrapper_test ${wrapper_libs} ${unittest_libs})
|
||||
|
@ -65,6 +65,10 @@ target_link_libraries(metrics_test
|
||||
)
|
||||
if(${BUILD_FAISS_WITH_MKL} STREQUAL "ON")
|
||||
target_link_libraries(metrics_test ${MKL_LIBS} ${MKL_LIBS})
|
||||
else()
|
||||
target_link_libraries(metrics_test
|
||||
lapack
|
||||
openblas)
|
||||
endif()
|
||||
|
||||
install(TARGETS metrics_test DESTINATION bin)
|
@ -49,6 +49,10 @@ set(require_libs
|
||||
|
||||
if(${BUILD_FAISS_WITH_MKL} STREQUAL "ON")
|
||||
set(require_libs ${require_libs} ${MKL_LIBS} ${MKL_LIBS})
|
||||
else()
|
||||
set(require_libs ${require_libs}
|
||||
lapack
|
||||
openblas)
|
||||
endif()
|
||||
|
||||
target_link_libraries(server_test
|
||||
|
Loading…
Reference in New Issue
Block a user