diff options
author | Stefan Gartner <stefang@aon.at> | 2010-01-02 12:32:32 +0300 |
---|---|---|
committer | Stefan Gartner <stefang@aon.at> | 2010-01-02 12:32:32 +0300 |
commit | 382e52e5c7465ff8e76ed20bda98099b4506aa0a (patch) | |
tree | 85442a6ee6841bdb74ca796cdf432235fdbb8859 | |
parent | a7d268d38e348722977a9fcf72624af691e724cd (diff) |
OS X Makefiles: append -DPARALLEL=1 to CPPFLAGS when compiling with OPENMP
-rw-r--r-- | source/blender/editors/physics/Makefile | 8 | ||||
-rw-r--r-- | source/blender/editors/screen/Makefile | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/source/blender/editors/physics/Makefile b/source/blender/editors/physics/Makefile index 63968fdd537..e9260b66087 100644 --- a/source/blender/editors/physics/Makefile +++ b/source/blender/editors/physics/Makefile @@ -53,4 +53,10 @@ CPPFLAGS += -I../../render/extern/include # own include -CPPFLAGS += -I../include +CPPFLAGS += -I../include + +ifeq ($(OS), darwin) + ifeq ($(WITH_BF_OPENMP), true) + CPPFLAGS += -DPARALLEL=1 + endif +endif diff --git a/source/blender/editors/screen/Makefile b/source/blender/editors/screen/Makefile index 87ba3337caa..23c9d130eec 100644 --- a/source/blender/editors/screen/Makefile +++ b/source/blender/editors/screen/Makefile @@ -60,3 +60,8 @@ ifeq ($(WITH_OPENEXR), true) CPPFLAGS += -DWITH_OPENEXR endif +ifeq ($(OS), darwin) + ifeq ($(WITH_BF_OPENMP), true) + CPPFLAGS += -DPARALLEL=1 + endif +endif |