build(linux): disable cuda option in cmake when --skip-cuda arg is passed (#3951)
This commit is contained in:
parent
a80ec75465
commit
eaa434ab45
1 changed files with 3 additions and 1 deletions
|
|
@ -460,6 +460,8 @@ function run_install() {
|
|||
install_cuda
|
||||
cmake_args+=("-DSUNSHINE_ENABLE_CUDA=ON")
|
||||
cmake_args+=("-DCMAKE_CUDA_COMPILER:PATH=$nvcc_path")
|
||||
else
|
||||
cmake_args+=("-DSUNSHINE_ENABLE_CUDA=OFF")
|
||||
fi
|
||||
|
||||
# Cmake stuff here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue