Skip to content

Commit

Permalink
Update nvtx3 link in cmake (rapidsai#2246)
Browse files Browse the repository at this point in the history
- Link to `nvtx3` instead of deprecated `nvToolsExt`
- Use `LAZY` cmake install message, to avoid flooding the console with all the headers name when they are left untouched.

Authors:
  - Micka (https://github.com/lowener)
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)

URL: rapidsai#2246
  • Loading branch information
lowener authored and abc99lr committed May 10, 2024
1 parent be86b8f commit 4e7fcb3
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 @@ -278,7 +278,7 @@ else()
"\" OFF)"
[=[

target_link_libraries(raft::raft INTERFACE $<$<BOOL:${RAFT_NVTX}>:CUDA::nvToolsExt>)
target_link_libraries(raft::raft INTERFACE $<$<BOOL:${RAFT_NVTX}>:CUDA::nvtx3>)
target_compile_definitions(raft::raft INTERFACE $<$<BOOL:${RAFT_NVTX}>:NVTX_ENABLED>)

]=]
Expand Down

0 comments on commit 4e7fcb3

Please sign in to comment.