fmt package: fix cmake arguments (#10500)
This commit is contained in:
parent
b028e99cac
commit
5281403fb2
@ -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)
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user