Introduced a bug by correcting flake8 warnings

This commit is contained in:
Nicolas Richart 2016-06-01 03:31:29 +02:00
parent 58052e6632
commit d802144f39

View File

@ -123,7 +123,7 @@ def install(self, spec, prefix):
with working_dir(join_path('depends', package)):
python('setup.py', 'install', '--prefix=%s' % prefix)
cmake_args.extend([
cmake_args = [
'-DCMAKE_BUILD_TYPE:STRING={0}'.format(
'Debug' if '+debug' in spec else 'RelWithDebInfo'),
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
@ -165,7 +165,8 @@ def install(self, spec, prefix):
self.cmake_is_on('vtk')),
'-DDOLFIN_ENABLE_ZLIB:BOOL={0}'.format(
self.cmake_is_on('zlib')),
])
]
cmake_args.extend(std_cmake_args)
with working_dir('build', create=True):