Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2011-11-08 22:58:29 +0400
committerAntony Riakiotakis <kalast@gmail.com>2011-11-08 22:58:29 +0400
commit2a0451dc46809e08ac3fa028e9c22e0e7071e06e (patch)
tree770a07990eb7fe70d1076699d1d7f880219122f3 /intern/cycles/device/CMakeLists.txt
parent0ed2309b4d30940999e19265ebd7a5a3e24ee2a7 (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/cycles/device/CMakeLists.txt')
-rw-r--r--intern/cycles/device/CMakeLists.txt1
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})