cycles: Fix x86 build error.

WITH_CYCLES_CUDA_BINARIES was set as a regular variable causing it to be overwritten by the release.cmake settings.
This commit is contained in:
Ray molenkamp 2018-09-04 16:58:41 -06:00
parent 8cd6e22ec0
commit 19c7e499e1
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ if(WITH_CYCLES_CUBIN_COMPILER)
# to be build to compile the cubins.
if(MSVC AND NOT CMAKE_CL_64)
message("Building with CUDA not supported on 32 bit, skipped")
set(WITH_CYCLES_CUDA_BINARIES OFF)
set(WITH_CYCLES_CUDA_BINARIES OFF CACHE BOOL "" FORCE)
else()
set(SRC
cycles_cubin_cc.cpp