fixed: build python bindings on systems without openmp
This commit is contained in:
@@ -74,9 +74,9 @@ ext_modules = [
|
||||
libraries=libs,
|
||||
language='c++',
|
||||
undef_macros=["NDEBUG"],
|
||||
include_dirs=[@SETUP_PY_PYBIND_INCLUDE_DIR@],
|
||||
extra_compile_args=['-std=c++17', '-fopenmp', @SETUP_PY_FMT_FLAGS@],
|
||||
extra_link_args=['-fopenmp', @SETUP_PY_LINKAGE@]
|
||||
include_dirs=[@SETUP_PY_INCLUDE_DIRS@],
|
||||
extra_compile_args=[@SETUP_PY_FLAGS@],
|
||||
extra_link_args=[@SETUP_PY_LINKAGE@]
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user