Make USE_OPENMP=0 disable openmp
This commit is contained in:
parent
8cc628a953
commit
49742cb2d3
|
@ -189,7 +189,7 @@ ifeq ($(C_COMPILER), INTEL)
|
||||||
CCOMMON_OPT += -wd981
|
CCOMMON_OPT += -wd981
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef USE_OPENMP
|
ifeq ($(USE_OPENMP), 1)
|
||||||
ifeq ($(C_COMPILER), GCC)
|
ifeq ($(C_COMPILER), GCC)
|
||||||
CCOMMON_OPT += -fopenmp
|
CCOMMON_OPT += -fopenmp
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue