OS X Makefiles: append -DPARALLEL=1 to CPPFLAGS when compiling with OPENMP
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user