diff options
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/CMakeLists.txt | 5 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_app_build_options.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/python/intern/CMakeLists.txt b/source/blender/python/intern/CMakeLists.txt index 06a1dc5732b..aae0f926e81 100644 --- a/source/blender/python/intern/CMakeLists.txt +++ b/source/blender/python/intern/CMakeLists.txt @@ -242,10 +242,5 @@ if(WITH_PLAYER) add_definitions(-DWITH_PLAYER) endif() -if(WITH_OPENMP) - add_definitions(-DWITH_OPENMP) -endif() - - blender_add_lib(bf_python "${SRC}" "${INC}" "${INC_SYS}") diff --git a/source/blender/python/intern/bpy_app_build_options.c b/source/blender/python/intern/bpy_app_build_options.c index 87119fa690d..f5dc2942e63 100644 --- a/source/blender/python/intern/bpy_app_build_options.c +++ b/source/blender/python/intern/bpy_app_build_options.c @@ -289,7 +289,7 @@ static PyObject *make_builtopts_info(void) SetObjIncref(Py_False); #endif -#ifdef WITH_OPENMP +#ifdef _OPENMP SetObjIncref(Py_True); #else SetObjIncref(Py_False); |