Fix compilation error for win32.

That static align trick i've wrote about is still necessary.
This commit is contained in:
Sergey Sharybin
2011-10-25 18:13:12 +00:00
parent 12f876dcd1
commit fe6ad36060
4 changed files with 14 additions and 0 deletions

View File

@@ -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}")

View File

@@ -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] )