diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2013-01-06 11:10:22 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2013-01-06 11:10:22 +0400 |
commit | 0ea3c285ea769bcb692b6fbe7ad072c514b5f4d2 (patch) | |
tree | 8f51932c3244b31055ce7fc9118950bb0b00f1df /intern | |
parent | c6a0818642ed57b8529e4e21f549367fe42cf68f (diff) |
device_network.cpp is completely elided when WITH_NETWORK is not defined, so do not include it in the build in that case
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/CMakeLists.txt | 5 |
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 |