Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Link static nvml when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Jul 12, 2024
1 parent 0af3a33 commit f2050f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ PRIVATE

if (CUDAToolkit_VERSION VERSION_GREATER "12.3")
# Link the NVML library if CUDA version is greater than 12.3
target_link_libraries(wholegraph PRIVATE CUDA::nvml)
target_link_libraries(wholegraph PRIVATE CUDA::nvml${_ctk_static_suffix})
endif()

if(BUILD_WITH_NVSHMEM)
Expand Down

0 comments on commit f2050f5

Please sign in to comment.