From 4e7fcb314eaef8a49091a0253e99ebe2077220d9 Mon Sep 17 00:00:00 2001 From: Micka Date: Thu, 9 May 2024 14:57:25 +0200 Subject: [PATCH] Update nvtx3 link in cmake (#2246) - 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: https://github.com/rapidsai/raft/pull/2246 --- cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 88ccc27be0..f7d1c9b119 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -278,7 +278,7 @@ else() "\" OFF)" [=[ -target_link_libraries(raft::raft INTERFACE $<$:CUDA::nvToolsExt>) +target_link_libraries(raft::raft INTERFACE $<$:CUDA::nvtx3>) target_compile_definitions(raft::raft INTERFACE $<$:NVTX_ENABLED>) ]=]