Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jant1L committed Dec 20, 2024
1 parent e5065f1 commit fe95bfc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/BuildLGraphApi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
pthread
rt
z
faiss
libfaiss.a
)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
target_link_libraries(${TARGET_LGRAPH} PUBLIC
vsag
faiss
libfaiss.a
${Boost_LIBRARIES}
omp
pthread
Expand All @@ -139,7 +139,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
else ()
target_link_libraries(${TARGET_LGRAPH} PUBLIC
vsag
faiss
libfaiss.a
rt
omp
pthread
Expand Down
4 changes: 2 additions & 2 deletions src/BuildLGraphServer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if (NOT (CMAKE_SYSTEM_NAME STREQUAL "Darwin"))
geax_isogql
bolt
vsag
faiss
libfaiss.a
# begin static linking
-Wl,-Bstatic
cpprest
Expand Down Expand Up @@ -141,5 +141,5 @@ target_link_libraries(${TARGET_SERVER}
${TARGET_SERVER_LIB}
librocksdb.a
vsag
faiss
libfaiss.a
)
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ add_executable(unit_test

target_link_libraries(unit_test
vsag
faiss
libfaiss.a
lgraph_server_lib
geax_isogql
bolt
Expand Down

0 comments on commit fe95bfc

Please sign in to comment.