Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wilkins <Jason.A.Wilkins@gmail.com>2013-01-06 11:10:22 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2013-01-06 11:10:22 +0400
commit0ea3c285ea769bcb692b6fbe7ad072c514b5f4d2 (patch)
tree8f51932c3244b31055ce7fc9118950bb0b00f1df
parentc6a0818642ed57b8529e4e21f549367fe42cf68f (diff)
device_network.cpp is completely elided when WITH_NETWORK is not defined, so do not include it in the build in that case
-rw-r--r--intern/cycles/device/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt
index 0071bbe5cdc..661d43ab036 100644
--- a/intern/cycles/device/CMakeLists.txt
+++ b/intern/cycles/device/CMakeLists.txt
@@ -18,11 +18,14 @@ set(SRC
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