diff options
Diffstat (limited to 'source/blender/python/intern/bpy_app_build_options.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_build_options.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_app_build_options.c b/source/blender/python/intern/bpy_app_build_options.c index 60105f73f37..87119fa690d 100644 --- a/source/blender/python/intern/bpy_app_build_options.c +++ b/source/blender/python/intern/bpy_app_build_options.c @@ -66,6 +66,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = { {(char *)"collada", NULL}, {(char *)"opencolorio", NULL}, {(char *)"player", NULL}, + {(char *)"openmp", NULL}, {NULL} }; @@ -288,6 +289,12 @@ static PyObject *make_builtopts_info(void) SetObjIncref(Py_False); #endif +#ifdef WITH_OPENMP + SetObjIncref(Py_True); +#else + SetObjIncref(Py_False); +#endif + #undef SetObjIncref return builtopts_info; |