Skip to content

Commit

Permalink
CMAKE_DL_LIBS
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Nov 8, 2024
1 parent 0c90b46 commit afd0177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ else()
return 0;
}
]]
LINK_LIBRARIES CUDA::cuFile
LINK_LIBRARIES CUDA::cuFile ${CMAKE_DL_LIBS}
OUTPUT_VARIABLE batch_output
)
message(STATUS "Found cuFile Batch API: ${cuFile_BATCH_API_FOUND}")
Expand All @@ -110,7 +110,7 @@ else()
return 0;
}
]]
LINK_LIBRARIES CUDA::cuFile
LINK_LIBRARIES CUDA::cuFile ${CMAKE_DL_LIBS}
OUTPUT_VARIABLE stream_output
)
message(STATUS "Found cuFile Stream API: ${cuFile_STREAM_API_FOUND}")
Expand Down

0 comments on commit afd0177

Please sign in to comment.