2023-08-04 22:07:22 +00:00
|
|
|
# shellcheck shell=bash
|
|
|
|
|
|
|
|
# CMake's enable_language(CUDA) runs a compiler test and it doesn't account for
|
|
|
|
# CUDAToolkit_ROOT. We have to help it locate libcudart
|
2023-10-09 19:29:22 +00:00
|
|
|
export NVCC_APPEND_FLAGS+=" -L@cudartLib@/lib -L@cudartStatic@/lib -I@cudartInclude@/include"
|