fixed: build python bindings on systems without openmp

This commit is contained in:
Arne Morten Kvarving
2022-09-09 07:38:37 +02:00
parent b936fe6c0b
commit 8e2445b4cc
2 changed files with 27 additions and 15 deletions

View File

@@ -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@]
)
]