Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Yudong <[email protected]>
  • Loading branch information
cydrain committed Dec 23, 2024
1 parent 0341b62 commit cbef39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/libs/libfaiss.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ if(__PPC64)
target_link_libraries(knowhere_utils PUBLIC glog::glog)
endif()

find_package(LAPACK REQUIRED)

if(LINUX)
set(BLA_VENDOR OpenBLAS)
Expand All @@ -73,7 +74,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aar
find_package(OpenBLAS REQUIRED)
set(BLAS_LIBRARIES OpenBLAS::OpenBLAS)
else()
find_package(LAPACK REQUIRED)
find_package(BLAS REQUIRED)
endif()

Expand Down

0 comments on commit cbef39c

Please sign in to comment.