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

Fix Python bindings build
This commit is contained in:
lazymio 2022-05-03 09:45:30 +02:00 committed by GitHub
commit 347dbb35e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: