Skip to content

Commit f7d367a

Browse files
Add find_dependency(CUDAToolkit) to caliper-config.cmake.in (#715)
* Update caliper-config.cmake.in * Match style
1 parent e899a48 commit f7d367a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

caliper-config.cmake.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@ if (@CALIPER_HAVE_ROCPROFILER@)
3636
find_dependency(rocprofiler-sdk-roctx)
3737
endif()
3838

39+
# Add CUDAToolkit target for cupti support
40+
if (@CALIPER_HAVE_CUPTI@)
41+
find_dependency(CUDAToolkit)
42+
endif()
43+
3944
check_required_components(caliper)

0 commit comments

Comments
 (0)