chore(various): tedious updates (#3316)

This commit is contained in:
ReenigneArcher
2024-10-19 21:59:15 -04:00
committed by GitHub
parent a3ba700522
commit 60cf24225f
4 changed files with 12 additions and 10 deletions

View File

@ -68,7 +68,10 @@ if(${SUNSHINE_ENABLE_CUDA})
# message(STATUS "CUDA NVCC Flags: ${CUDA_NVCC_FLAGS}")
message(STATUS "CUDA Architectures: ${CMAKE_CUDA_ARCHITECTURES}")
elseif(${CUDA_FAIL_ON_MISSING})
message(FATAL_ERROR "CUDA not found")
message(FATAL_ERROR
"CUDA not found.
If this is intentional, set '-DSUNSHINE_ENABLE_CUDA=OFF' or '-DCUDA_FAIL_ON_MISSING=OFF'"
)
endif()
endif()
if(CUDA_FOUND)