forked from bartvdbraak/blender
Added a WITH_BF_OPENMP option
to add in proper flags for openmp support. Kent
This commit is contained in:
parent
8e126216b0
commit
4f553a59f7
@ -50,6 +50,11 @@ else
|
||||
CPPFLAGS += -DNO_KETSJI
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_OPENMP), true)
|
||||
CFLAGS += -fopenmp
|
||||
CCFLAGS += -fopenmp
|
||||
endif
|
||||
|
||||
ifdef NAN_DEBUG
|
||||
CFLAGS += $(NAN_DEBUG)
|
||||
CCFLAGS += $(NAN_DEBUG)
|
||||
|
@ -173,4 +173,8 @@ ifeq ($(INTERNATIONAL),true)
|
||||
LLIBS += $(NAN_GETTEXT_LIB)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_OPENMP),true)
|
||||
LLIBS += -lgomp
|
||||
endif
|
||||
|
||||
LLIBS += $(NAN_PYTHON_LIB)
|
||||
|
Loading…
Reference in New Issue
Block a user