Skip to content
Snippets Groups Projects

CUDAToolkit: Restore ability to find cupti headers

Merged Robert Maynard requested to merge robertmaynard/cmake:bug/fix_cupti_regression into master
All threads resolved!
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -1244,8 +1244,9 @@ if(CUDAToolkit_FOUND)
find_path(CUDAToolkit_CUPTI_INCLUDE_DIR cupti.h PATHS
"${CUDAToolkit_ROOT_DIR}/extras/CUPTI/include"
"${CUDAToolkit_INCLUDE_DIR}/../extras/CUPTI/include"
"${CUDAToolkit_INCLUDE_DIR}"
"${CUDAToolkit_INCLUDE_DIRS}"
PATH_SUFFIXES "../extras/CUPTI/include"
"../../../extras/CUPTI/include"
NO_DEFAULT_PATH)
mark_as_advanced(CUDAToolkit_CUPTI_INCLUDE_DIR)
Loading