Skip to content

Commit

Permalink
Ensure that CCCL req doesn't leak to downstream consumers of XGB
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Jul 24, 2024
1 parent f50dd64 commit 601a9da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/Utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ function(xgboost_set_cuda_flags target)
endif()

target_link_libraries(${target}
INTERFACE CCCL::CCCL
PUBLIC CUDA::cudart_static)
PRIVATE CCCL::CCCL CUDA::cudart_static)
target_compile_definitions(${target} PRIVATE -DXGBOOST_USE_CUDA=1)
target_include_directories(
${target} PRIVATE
Expand Down

0 comments on commit 601a9da

Please sign in to comment.