Skip to content

Commit

Permalink
Remove CUDAToolkit_INCLUDE_DIRS from include path
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Jul 24, 2024
1 parent d424d27 commit bf2c79c
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 @@ -108,8 +108,7 @@ function(xgboost_set_cuda_flags target)
target_compile_definitions(${target} PRIVATE -DXGBOOST_USE_CUDA=1)
target_include_directories(
${target} PRIVATE
${xgboost_SOURCE_DIR}/gputreeshap
${CUDAToolkit_INCLUDE_DIRS})
${xgboost_SOURCE_DIR}/gputreeshap)

if(MSVC)
target_compile_options(${target} PRIVATE
Expand Down

0 comments on commit bf2c79c

Please sign in to comment.