OS X Makefiles: append -DPARALLEL=1 to CPPFLAGS when compiling with OPENMP

This commit is contained in:
Stefan Gartner
2010-01-02 09:32:32 +00:00
parent a7d268d38e
commit 382e52e5c7
2 changed files with 12 additions and 1 deletions

View File

@@ -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

View File

@@ -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