Fix Python bindings build

This commit is contained in:
Luke Burnett
2022-05-02 20:41:54 -07:00
parent 659a62a001
commit 84849bdfe3

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: