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

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to