Fix linking issue, we use bundled static glew so we should define static glew in ghost as well.
This commit is contained in:
@@ -315,5 +315,7 @@ elseif(WIN32)
|
||||
|
||||
endif()
|
||||
|
||||
add_definitions(-DGLEW_STATIC)
|
||||
|
||||
blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}")
|
||||
|
||||
|
@@ -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'
|
||||
|
Reference in New Issue
Block a user