[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48229] branches/soc-2012-swiss_cheese/ intern/cycles/device/CMakeLists.txt: Warning fix: device_network. cpp does not have any extern symbols unless WITH_NETWORK is defined

Jason Wilkins Jason.A.Wilkins at gmail.com
Sun Jun 24 04:57:48 CEST 2012


Revision: 48229
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48229
Author:   jwilkins
Date:     2012-06-24 02:57:36 +0000 (Sun, 24 Jun 2012)
Log Message:
-----------
Warning fix: device_network.cpp does not have any extern symbols unless WITH_NETWORK is defined

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/intern/cycles/device/CMakeLists.txt

Modified: branches/soc-2012-swiss_cheese/intern/cycles/device/CMakeLists.txt
===================================================================
--- branches/soc-2012-swiss_cheese/intern/cycles/device/CMakeLists.txt	2012-06-24 02:16:11 UTC (rev 48228)
+++ branches/soc-2012-swiss_cheese/intern/cycles/device/CMakeLists.txt	2012-06-24 02:57:36 UTC (rev 48229)
@@ -15,10 +15,15 @@
 	device_cpu.cpp
 	device_cuda.cpp
 	device_multi.cpp
-	device_network.cpp
 	device_opencl.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