fix command

This commit is contained in:
Andrei Yankovich 2021-03-31 18:37:37 +03:00
parent f667ec6a7b
commit 05c319cf6d

View File

@ -29,12 +29,12 @@ class CMake(Make):
return 'cmake --build . --target ' + target
def makeCommand(self, props):
command = [self.make()]
command = self.make()
cpus = multiprocessing.cpu_count()
if cpus:
command.extend(['--parallel', str(cpus)])
command += '--parallel ' str(cpus)
return command