Merge pull request #1605 from LABurn/fix-python-binding-compilation-error

Fix Python bindings build
This commit is contained in:
2022-05-03 09:45:30 +02:00
committed by GitHub

View File

@@ -137,7 +137,7 @@ def build_libraries():
subprocess.check_call(cmake_args)
os.chdir(BUILD_DIR)
threads = os.getenv("THREADS", "4")
subprocess.check_call(["cmake", "--build", ".", "-j" + threads])
subprocess.check_call(["cmake", "--build", ".", "--", "-j" + threads])
shutil.copy(LIBRARY_FILE, LIBS_DIR)
try: