From 9a674a749b171959eff590d006c0bc650ce27a18 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Wed, 3 Oct 2018 10:18:22 -0600 Subject: cycles: Support building with cuda 10 on windows. --- intern/cycles/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern') 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.") -- cgit v1.2.3