diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2011-11-08 22:58:29 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2011-11-08 22:58:29 +0400 |
commit | 2a0451dc46809e08ac3fa028e9c22e0e7071e06e (patch) | |
tree | 770a07990eb7fe70d1076699d1d7f880219122f3 /intern | |
parent | 0ed2309b4d30940999e19265ebd7a5a3e24ee2a7 (diff) |
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.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt index 55941438720..3d8c2d5e2cd 100644 --- a/intern/cycles/device/CMakeLists.txt +++ b/intern/cycles/device/CMakeLists.txt @@ -22,5 +22,6 @@ set(headers device_intern.h device_network.h) +add_definitions(-DGLEW_STATIC) add_library(cycles_device ${sources} ${headers}) |