Skip to content

Commit

Permalink
Adapt to rmm 25.02 logger changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Jan 9, 2025
1 parent 4500941 commit 7d5fd87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ if(PLUGIN_RMM)
list(REMOVE_ITEM rmm_link_libs CUDA::cudart)
list(APPEND rmm_link_libs CUDA::cudart_static)
set_target_properties(rmm::rmm PROPERTIES INTERFACE_LINK_LIBRARIES "${rmm_link_libs}")
get_target_property(rmm_link_libs rmm::rmm INTERFACE_LINK_LIBRARIES)
endif()

if(PLUGIN_SYCL)
Expand Down
2 changes: 2 additions & 0 deletions tests/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ target_include_directories(testxgboost
${xgboost_SOURCE_DIR}/dmlc-core/include)
target_link_libraries(testxgboost
PRIVATE
$<TARGET_NAME_IF_EXISTS:rmm::rmm_logger>
$<TARGET_NAME_IF_EXISTS:rmm::rmm_logger_impl>
GTest::gtest GTest::gmock)

set_output_directory(testxgboost ${xgboost_BINARY_DIR})
Expand Down

0 comments on commit 7d5fd87

Please sign in to comment.