FIX: Detect CUDA version correctly for setting c++17 #119984

Open
William Leeson wants to merge 2 commits from leesonw/blender-cluster:Fix_CUDA_CMakeList into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

2 Commits

Author SHA1 Message Date
William Leeson 307b074c1a Merge branch 'main' into Fix_CUDA_CMakeList 2024-03-28 08:43:02 +01:00
William Leeson c57f9a91c7 FIX: Detect CUDA version correctly for setting c++17
Previous version checked cuda_version which was not set until
much later. However CUDA_VERSION exists prior to this point so
checking that should work.
2024-03-27 21:30:02 +01:00