diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-09-05 01:58:41 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-09-05 01:58:41 +0300 |
commit | 19c7e499e19aadc7d6d7831bd6924de568cd957d (patch) | |
tree | fa8d912c54480a854ec9184213806a56de1faffd | |
parent | 8cd6e22ec0c1eace9107e7425abc00e9938b26c8 (diff) |
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.
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index cfca45600a5..4fd551b33c2 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -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 |