FindCUDAToolkit: Fix missing sibling include directory for CUDA math libraries
The NVHPC packages bundle the CUDA math libraries in a sibling directory (math_libs
) instead of in with the rest of the CUDA libraries. Changes in !6405 (merged) accidentally omitted the sibling include directory. The merge request searches for the sibling directory and adds it to targets whose path contains "math_libs".
Do we need to check for other NVHPC layouts?
Fixes: #22706 (closed)
Edited by Brad King