Skip to content

Commit a406528

Browse files
hcho3robertmaynard
andauthored
[backport] Adapt to rmm 25.02 logger changes (dmlc#11153) (dmlc#11190)
Co-authored-by: Robert Maynard <[email protected]>
1 parent 3b19332 commit a406528

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ if(PLUGIN_RMM)
327327
list(REMOVE_ITEM rmm_link_libs CUDA::cudart)
328328
list(APPEND rmm_link_libs CUDA::cudart_static)
329329
set_target_properties(rmm::rmm PROPERTIES INTERFACE_LINK_LIBRARIES "${rmm_link_libs}")
330-
get_target_property(rmm_link_libs rmm::rmm INTERFACE_LINK_LIBRARIES)
331330
endif()
332331

333332
if(PLUGIN_SYCL)

tests/cpp/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ target_include_directories(testxgboost
7070
${xgboost_SOURCE_DIR}/rabit/include)
7171
target_link_libraries(testxgboost
7272
PRIVATE
73+
$<TARGET_NAME_IF_EXISTS:rmm::rmm_logger>
74+
$<TARGET_NAME_IF_EXISTS:rmm::rmm_logger_impl>
7375
GTest::gtest GTest::gmock)
7476

7577
set_output_directory(testxgboost ${xgboost_BINARY_DIR})

0 commit comments

Comments
 (0)