From 0fb5c9117fdb9ad24184a2dad2ad1c8c66565aaa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 May 2013 14:38:43 +0000 Subject: no need to add own define for openmp. --- source/blender/python/intern/CMakeLists.txt | 5 ----- source/blender/python/intern/bpy_app_build_options.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'source/blender/python/intern') 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); -- cgit v1.2.3