Accomodate for setting a different CMAKE_GENERATOR in the environment.
This makes sure the right build utility is called, depending on the value of the CMAKE_GENERATOR environment.
This commit is contained in:
parent
7e244f87b4
commit
2d665aa752
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user