blender/intern/cycles/device/CMakeLists.txt
Antony Riakiotakis 2a0451dc46 Fix GLEW linking error on MinGW.
The __imp__ prefix on glew lib linking errors should have been a good indication: the code was looking for the glew dll.
Bypassed by adding GLEW_STATIC to the definitions.
2011-11-08 18:58:29 +00:00

28 lines
389 B
CMake

include_directories(
.
../kernel
../kernel/svm
../kernel/osl
../util
../render
${OPENGL_INCLUDE_DIR}
${GLEW_INCLUDE_PATH})
set(sources
device.cpp
device_cpu.cpp
device_cuda.cpp
device_multi.cpp
device_network.cpp
device_opencl.cpp)
set(headers
device.h
device_intern.h
device_network.h)
add_definitions(-DGLEW_STATIC)
add_library(cycles_device ${sources} ${headers})