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.
This commit is contained in:
Antony Riakiotakis 2011-11-08 18:58:29 +00:00
parent 0ed2309b4d
commit 2a0451dc46

@ -22,5 +22,6 @@ set(headers
device_intern.h
device_network.h)
add_definitions(-DGLEW_STATIC)
add_library(cycles_device ${sources} ${headers})