fix --verbose usage

hotfix/mipmap-alpha-fix
Andrew Cassidy 3 years ago
parent d4c91e21b8
commit b3f6350353

@ -86,7 +86,7 @@ class CMakeBuild(build_ext):
# If this is a CI build, make sure not to use any advanced CPU features
if bool(os.environ.get('CI', False)):
cmake_args += ['-DCMAKE_CXX_FLAGS=-mtune=x86_64']
cmake_args += ['-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON', '-DCMAKE_CXX_FLAGS=-mtune=x86_64']
# Set CMAKE_BUILD_PARALLEL_LEVEL to control the parallel build level
# across all generators.
@ -104,7 +104,7 @@ class CMakeBuild(build_ext):
["cmake", ext.sourcedir] + cmake_args, cwd=self.build_temp
)
subprocess.check_call(
["cmake", "--verbose", "--build", ".", "--target", ext.name] + build_args, cwd=self.build_temp
["cmake", "--build", ".", "--target", ext.name] + build_args, cwd=self.build_temp
)

Loading…
Cancel
Save