Fix compilation error for win32.
That static align trick i've wrote about is still necessary.
This commit is contained in:
@@ -57,4 +57,8 @@ if(WITH_IK_ITASC)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
|
||||
endif()
|
||||
|
||||
blender_add_lib(bf_ikplugin "${SRC}" "${INC}" "${INC_SYS}")
|
||||
|
@@ -8,4 +8,7 @@ incs += ' ../blenkernel ../include ../ikplugin #/intern/itasc #/extern/Eigen3'
|
||||
|
||||
defs.append('WITH_IK_ITASC')
|
||||
|
||||
if env['PLATFORM'] == 'win32':
|
||||
defs.append('EIGEN_DONT_ALIGN_STATICALLY')
|
||||
|
||||
env.BlenderLib ( 'bf_ikplugin', sources, Split(incs), defs, libtype=['core','player'], priority=[180, 190] )
|
||||
|
Reference in New Issue
Block a user