[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53597] trunk/blender/intern/cycles/device /CMakeLists.txt: device_network. cpp is completely elided when WITH_NETWORK is not defined, so do not include it in the build in that case

Jason Wilkins Jason.A.Wilkins at gmail.com
Sun Jan 6 08:10:26 CET 2013


Revision: 53597
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53597
Author:   jwilkins
Date:     2013-01-06 07:10:22 +0000 (Sun, 06 Jan 2013)
Log Message:
-----------
device_network.cpp is completely elided when WITH_NETWORK is not defined, so do not include it in the build in that case

Modified Paths:
--------------
    trunk/blender/intern/cycles/device/CMakeLists.txt

Modified: trunk/blender/intern/cycles/device/CMakeLists.txt
===================================================================
--- trunk/blender/intern/cycles/device/CMakeLists.txt	2013-01-06 00:42:39 UTC (rev 53596)
+++ trunk/blender/intern/cycles/device/CMakeLists.txt	2013-01-06 07:10:22 UTC (rev 53597)
@@ -18,11 +18,14 @@
 	device_cpu.cpp
 	device_cuda.cpp
 	device_multi.cpp
-	device_network.cpp
 	device_opencl.cpp
 	device_task.cpp
 )
 
+if(WITH_NETWORK)
+	list(APPEND SRC device_network.cpp)
+endif()
+
 set(SRC_HEADERS
 	device.h
 	device_memory.h




More information about the Bf-blender-cvs mailing list