Skip to content

Commit

Permalink
Add link libraries to generate_resource_spec cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwendt committed Jan 10, 2024
1 parent 66816a1 commit d0e9f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rapids-cmake/test/generate_resource_spec.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function(rapids_test_generate_resource_spec DESTINATION filepath)
if(CUDAToolkit_FOUND)
set(compile_options "-I${CUDAToolkit_INCLUDE_DIRS}" "-DHAVE_CUDA")
endif()
set(link_options ${CUDA_cudart_LIBRARY})
set(link_options ${CUDA_cudart_LIBRARY} "-lpthread -lrt -ldl")
set(compiler "${CMAKE_CXX_COMPILER}")
if(NOT DEFINED CMAKE_CXX_COMPILER)
set(compiler "${CMAKE_CUDA_COMPILER}")
Expand Down

0 comments on commit d0e9f36

Please sign in to comment.