When forcing USE_THREAD=0, override USE_OPENMP as well

This avoids an error exit a few lines down as USE_THREAD=0 conflicts with USE_OPENMP=1
This commit is contained in:
Martin Kroeker
2018-01-23 21:33:21 +01:00
committed by GitHub
parent 281a2b952f
commit 4a4f6658de

View File

@@ -181,6 +181,7 @@ endif
ifeq ($(NUM_THREADS), 1)
override USE_THREAD = 0
override USE_OPENMP = 0
endif
ifdef USE_THREAD