Commits

Asbjørn Heid  committed 9ed6b94

CMake: enabled building of hybrid renderer in non-OpenCL mode.

Hybrid renderer uses CPU backend in luxrays in non-OpenCL mode, see changeset 1b6f95aa004a.

  • Participants
  • Parent commits 412d613
  • Tags v10RC3

Comments (0)

Files changed (1)

File cmake/liblux.cmake

 SOURCE_GROUP("Source Files\\Samplers" FILES ${lux_samplers_src})
 
 SET(lux_renderers_src
+	renderers/hybridrenderer.cpp
+	renderers/hybridsamplerrenderer.cpp
 	renderers/samplerrenderer.cpp
 	renderers/sppmrenderer.cpp
 	renderers/sppm/photonsampler.cpp
 	renderers/sppm/hybridhashgrid.cpp
 	renderers/sppm/kdtree.cpp
 	)
-IF(NOT LUXRAYS_DISABLE_OPENCL)
-SET(lux_renderers_src
-	${lux_renderers_src}
-	renderers/hybridrenderer.cpp
-	renderers/hybridsamplerrenderer.cpp
-	)
-endif(NOT LUXRAYS_DISABLE_OPENCL)
 SOURCE_GROUP("Source Files\\Renderers" FILES ${lux_renderers_src})
 
 SET(lux_rendererstatistics_src