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

@@ -318,4 +318,8 @@ set(SRC
../../extern/Eigen3/Eigen/src/Cholesky/LLT.h
)
if(WIN32)
add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
endif()
blender_add_lib(bf_intern_itasc "${SRC}" "${INC}" "${INC_SYS}")

View File

@@ -9,5 +9,8 @@ incs = '. ../../extern/Eigen3'
defs = []
if env['PLATFORM'] == 'win32':
defs.append('EIGEN_DONT_ALIGN_STATICALLY')
env.BlenderLib ('bf_intern_itasc', sources, Split(incs), defs, libtype=['intern','player'], priority=[20,100] )