Cycles / Cmake:
authorThomas Dinges <blender@dingto.org>
Thu, 9 Aug 2012 12:08:35 +0000 (12:08 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 9 Aug 2012 12:08:35 +0000 (12:08 +0000)
* When CUDA building is enabled, build sm_30 kernel as well.

CMakeLists.txt

index bc08f6f5ad98fda5e9f51e3bf2303e2e091e9f6c..77f934fcc15f42c4910fb11ef48adc57b87f800a 100644 (file)
@@ -247,7 +247,7 @@ option(WITH_CYCLES                                  "Enable cycles Render Engine" ON)
 option(WITH_CYCLES_TEST                                "Build cycles test application" OFF)
 option(WITH_CYCLES_OSL                         "Build Cycles with OSL support" OFF)
 option(WITH_CYCLES_CUDA_BINARIES       "Build cycles CUDA binaries" OFF)
-set(CYCLES_CUDA_BINARIES_ARCH sm_13 sm_20 sm_21 CACHE STRING "CUDA architectures to build binaries for")
+set(CYCLES_CUDA_BINARIES_ARCH sm_13 sm_20 sm_21 sm_30 CACHE STRING "CUDA architectures to build binaries for")
 mark_as_advanced(CYCLES_CUDA_BINARIES_ARCH)
 unset(PLATFORM_DEFAULT)