Skip to content

Commit

Permalink
Update nvtx3 link in cmake (#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: #2246
  • Loading branch information
lowener authored May 9, 2024
1 parent e6fe567 commit d11e78a
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 d11e78a

Please sign in to comment.