From 7759b2743a5a41c16fd4ddc2943ba49c70a078b5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 May 2013 16:15:16 +0000 Subject: code cleanup: replace PARALLEL define with _OPENMP --- source/blender/editors/physics/CMakeLists.txt | 4 ---- source/blender/editors/physics/SConscript | 4 ---- 2 files changed, 8 deletions(-) (limited to 'source/blender/editors/physics') diff --git a/source/blender/editors/physics/CMakeLists.txt b/source/blender/editors/physics/CMakeLists.txt index 29d8aec4224..3701598f87f 100644 --- a/source/blender/editors/physics/CMakeLists.txt +++ b/source/blender/editors/physics/CMakeLists.txt @@ -54,10 +54,6 @@ if(WITH_MOD_FLUID) add_definitions(-DWITH_MOD_FLUID) endif() -if(WITH_OPENMP) - add_definitions(-DPARALLEL=1) -endif() - if(WITH_INTERNATIONAL) add_definitions(-DWITH_INTERNATIONAL) endif() diff --git a/source/blender/editors/physics/SConscript b/source/blender/editors/physics/SConscript index 7916ea24bde..2583c9f964a 100644 --- a/source/blender/editors/physics/SConscript +++ b/source/blender/editors/physics/SConscript @@ -44,10 +44,6 @@ if env['OURPLATFORM'] == 'linux': if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): incs += ' ' + env['BF_PTHREADS_INC'] -if env['OURPLATFORM'] == 'darwin': - if env['WITH_BF_OPENMP']: - defs.append('PARALLEL=1') - if env['WITH_BF_INTERNATIONAL']: defs.append('WITH_INTERNATIONAL') -- cgit v1.2.3