Skip to content

Commit

Permalink
Fix AIX build break
Browse files Browse the repository at this point in the history
  • Loading branch information
KamathForAIX committed Oct 14, 2024
1 parent 3daf48c commit db45504
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ if(FAISS_OPT_LEVEL STREQUAL "sve")
target_link_libraries(faiss_test PRIVATE faiss_sve)
endif()

target_link_libraries(faiss_test PUBLIC faiss_example_external_module)
if (FAISS_ENABLE_PYTHON)
target_link_libraries(faiss_test PUBLIC faiss_example_external_module)
endif()

include(FetchContent)
FetchContent_Declare(
Expand Down

0 comments on commit db45504

Please sign in to comment.