Fix compilation error for win32.
[blender.git] / source / blender / ikplugin / CMakeLists.txt
index 518fc9a..87b0c6c 100644 (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}")