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>2013-08-01 02:39:17 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-08-01 02:39:17 +0400
commitac8e379a87b78ed96cc9dac5fe5b88e5bd4979f7 (patch)
treede5921e56056704e1ad62647debd493c4dbebbbf /intern/ghost/SConscript
parente48acb7decf9032c51208d7e55dd81279a3914dc (diff)
Fix linking issue, we use bundled static glew so we should define static glew in ghost as well.
Diffstat (limited to 'intern/ghost/SConscript')
-rw-r--r--intern/ghost/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index 0d7df2847e0..e48e4ee6b96 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -38,7 +38,7 @@ if window_system == 'darwin':
pf = ['GHOST_DisplayManager', 'GHOST_System', 'GHOST_SystemPaths', 'GHOST_Window', 'GHOST_DropTarget', 'GHOST_NDOFManager']
-defs=['_USE_MATH_DEFINES']
+defs=['_USE_MATH_DEFINES', 'GLEW_STATIC']
incs = [
'.',
@@ -142,7 +142,6 @@ else:
except ValueError:
pass
-
if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc', 'win64-mingw'):
incs = env['BF_WINTAB_INC'] + ' ' + incs
incs += ' ../utfconv'