Some systems have CUDA_DIR defined, some have CUDA_ROOT. The toolchain file needs to add the path with CUDA to the find root, so check both variables, if only one is defined or they are the same value use them otherwise error out.
This should help make things a little more robust when conda psuedo-cross compiling
Some systems have CUDA_DIR defined, some have CUDA_ROOT. The toolchain file needs to add the path with CUDA to the find root, so check both variables, if only one is defined or they are the same value use them otherwise error out.
This should help make things a little more robust when conda psuedo-cross compiling