diff --git a/intern/elbeem/CMakeLists.txt b/intern/elbeem/CMakeLists.txt index e541d334086..b59554e5709 100644 --- a/intern/elbeem/CMakeLists.txt +++ b/intern/elbeem/CMakeLists.txt @@ -33,9 +33,9 @@ IF(WINDOWS) ADD_DEFINITIONS(-DUSE_MSVC6FIXES) ENDIF(WINDOWS) -IF(WITH_OPENMP) +IF(WITH_OPENMP AND NOT APPLE) ADD_DEFINITIONS(-DPARALLEL=1) -ENDIF(WITH_OPENMP) +ENDIF(WITH_OPENMP AND NOT APPLE) BLENDERLIB_NOLIST(bf_elbeem "${SRC}" "${INC}") #, libtype='blender', priority=0 ) diff --git a/intern/elbeem/SConscript b/intern/elbeem/SConscript index 0900ab1db5c..ef411d0eb03 100644 --- a/intern/elbeem/SConscript +++ b/intern/elbeem/SConscript @@ -8,7 +8,8 @@ sources = env.Glob('intern/*.cpp') defs = 'NOGUI ELBEEM_BLENDER=1' if env['WITH_BF_OPENMP']: - defs += ' PARALLEL' + if env['OURPLATFORM'] != 'darwin': + defs += ' PARALLEL' if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): defs += ' USE_MSVC6FIXES'