diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-10-03 19:18:22 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-10-03 19:18:22 +0300 |
commit | 9a674a749b171959eff590d006c0bc650ce27a18 (patch) | |
tree | 95685a25c5254e7afdb78785e4b0df59afb44a3b /intern/cycles/CMakeLists.txt | |
parent | d05b9e0a2e143ac122cdff8f980428f69d0e14c7 (diff) |
cycles: Support building with cuda 10 on windows.
Diffstat (limited to 'intern/cycles/CMakeLists.txt')
-rw-r--r-- | intern/cycles/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt index 6d7c4be423a..9a09b1e6f1b 100644 --- a/intern/cycles/CMakeLists.txt +++ b/intern/cycles/CMakeLists.txt @@ -283,6 +283,8 @@ if(WITH_CYCLES_CUDA_BINARIES AND (NOT WITH_CYCLES_CUBIN_COMPILER)) set(MAX_MSVC 1910) elseif(${CUDA_VERSION} EQUAL "9.1") set(MAX_MSVC 1911) + elseif(${CUDA_VERSION} EQUAL "10.0") + set(MAX_MSVC 1999) endif() if(NOT MSVC_VERSION LESS ${MAX_MSVC} OR CMAKE_C_COMPILER_ID MATCHES "Clang") message(STATUS "nvcc not supported for this compiler version, using cycles_cubin_cc instead.") |