fmt package: fix cmake arguments (#10500)

This commit is contained in:
Matthias Wolf 2019-02-06 20:52:49 +01:00 committed by Peter Scheibel
parent b028e99cac
commit 5281403fb2

View File

@ -37,7 +37,7 @@ def cmake_args(self):
spec = self.spec
args = []
if '+pic' in spec:
args.append([
args.extend([
'-DCMAKE_C_FLAGS={0}'.format(self.compiler.pic_flag),
'-DCMAKE_CXX_FLAGS={0}'.format(self.compiler.pic_flag)
])