diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-09 00:27:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-09 00:27:37 +0400 |
commit | 33814e0093f0d8d5d8dca46dfc3a13a39a256227 (patch) | |
tree | 4bc801ca44b0c1d8aa75d829e3482c7eabd7b018 /intern/cycles/device | |
parent | 76f77514d3ffbb9697154bb5d12a1bee1b57b607 (diff) |
edits to cycles cmake files so cmake_consistency_check.py can parse them.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/CMakeLists.txt | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt index 3d8c2d5e2cd..e1fb44b92b4 100644 --- a/intern/cycles/device/CMakeLists.txt +++ b/intern/cycles/device/CMakeLists.txt @@ -1,5 +1,5 @@ -include_directories( +set(INC . ../kernel ../kernel/svm @@ -7,21 +7,26 @@ include_directories( ../util ../render ${OPENGL_INCLUDE_DIR} - ${GLEW_INCLUDE_PATH}) + ${GLEW_INCLUDE_PATH} +) -set(sources +set(SRC device.cpp device_cpu.cpp device_cuda.cpp device_multi.cpp device_network.cpp - device_opencl.cpp) + device_opencl.cpp +) -set(headers +set(SRC_HEADERS device.h device_intern.h - device_network.h) + device_network.h +) add_definitions(-DGLEW_STATIC) -add_library(cycles_device ${sources} ${headers}) +include_directories(${INC}) + +add_library(cycles_device ${SRC} ${SRC_HEADERS}) |