Merge pull request #1486 from mid-kid/dev

Accomodate for setting a different CMAKE_GENERATOR in the environment
This commit is contained in:
lazymio
2021-11-13 21:33:27 +01:00
committed by GitHub

View File

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