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:
@@ -22,5 +22,6 @@ set(headers
|
||||
device_intern.h
|
||||
device_network.h)
|
||||
|
||||
add_definitions(-DGLEW_STATIC)
|
||||
add_library(cycles_device ${sources} ${headers})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user