Revision: 41677
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41677
Author: psy-fi
Date: 2011-11-08 18:58:29 +0000 (Tue, 08 Nov 2011)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/intern/cycles/device/CMakeLists.txt
Modified: trunk/blender/intern/cycles/device/CMakeLists.txt
===================================================================
--- trunk/blender/intern/cycles/device/CMakeLists.txt 2011-11-08 18:49:12 UTC
(rev 41676)
+++ trunk/blender/intern/cycles/device/CMakeLists.txt 2011-11-08 18:58:29 UTC
(rev 41677)
@@ -22,5 +22,6 @@
device_intern.h
device_network.h)
+add_definitions(-DGLEW_STATIC)
add_library(cycles_device ${sources} ${headers})
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs