Skip to content

Commit

Permalink
try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
divyegala committed Nov 14, 2024
1 parent 28786de commit e801d53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ if(RAFT_COMPILE_LIBRARY)
${RAFT_CTK_MATH_DEPENDENCIES} # TODO: Once `raft::resources` is used everywhere, this
# will just be cublas
$<TARGET_NAME_IF_EXISTS:OpenMP::OpenMP_CXX>
$<TARGET_NAME_IF_EXISTS:hnswlib::hnswlib>
)

# So consumers know when using libraft.so/libraft.a
Expand All @@ -616,9 +617,6 @@ if(TARGET raft_lib AND (NOT TARGET raft::raft_lib))
endif()

target_link_libraries(raft_compiled INTERFACE raft::raft $<TARGET_NAME_IF_EXISTS:raft::raft_lib>)
if(BUILD_CAGRA_HNSWLIB)
target_link_libraries(raft_compiled PUBLIC hnswlib::hnswlib)
endif()

# ##################################################################################################
# * raft_compiled_static----------------------------------------------------------------------------
Expand Down

0 comments on commit e801d53

Please sign in to comment.