Revision: 48646
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48646
Author:   psy-fi
Date:     2012-07-05 13:25:47 +0000 (Thu, 05 Jul 2012)
Log Message:
-----------
Define static glew for sculpt and paint since I use a few extra GL calls that 
reference extensions.

Modified Paths:
--------------
    
branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/CMakeLists.txt
    branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/SConscript

Modified: 
branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/CMakeLists.txt
===================================================================
--- 
branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/CMakeLists.txt  
    2012-07-05 13:02:42 UTC (rev 48645)
+++ 
branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/CMakeLists.txt  
    2012-07-05 13:25:47 UTC (rev 48646)
@@ -58,4 +58,6 @@
        paint_2D.h
 )
 
+add_definitions(-DGLEW_STATIC)
+
 blender_add_lib(bf_editor_sculpt_paint "${SRC}" "${INC}" "${INC_SYS}")

Modified: 
branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/SConscript
===================================================================
--- branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/SConscript  
2012-07-05 13:02:42 UTC (rev 48645)
+++ branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/SConscript  
2012-07-05 13:25:47 UTC (rev 48646)
@@ -3,7 +3,7 @@
 
 sources = env.Glob('*.c')
 
-defs = []
+defs = [ 'GLEW_STATIC' ]
 
 incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
 incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include'

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to