Fix linking issue, we use bundled static glew so we should define static glew in ghost as well.

This commit is contained in:
Antony Riakiotakis
2013-07-31 22:39:17 +00:00
parent e48acb7dec
commit ac8e379a87
2 changed files with 3 additions and 2 deletions

View File

@@ -315,5 +315,7 @@ elseif(WIN32)
endif()
add_definitions(-DGLEW_STATIC)
blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}")

View File

@@ -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'