nest: change cmake_options to args. (#11273)
This commit is contained in:
parent
e6bd4d27ea
commit
3d46dcd6f0
@ -116,19 +116,19 @@ def cmake_args(self):
|
|||||||
args.append('-Dwith-optimize=OFF')
|
args.append('-Dwith-optimize=OFF')
|
||||||
|
|
||||||
if '+gsl' in self.spec:
|
if '+gsl' in self.spec:
|
||||||
cmake_options.append('-Dwith-gsl=' + self.spec['gsl'].prefix)
|
args.append('-Dwith-gsl=' + self.spec['gsl'].prefix)
|
||||||
else:
|
else:
|
||||||
cmake_options.append('-Dwith-gsl=OFF')
|
args.append('-Dwith-gsl=OFF')
|
||||||
|
|
||||||
if '+openmp' in self.spec:
|
if '+openmp' in self.spec:
|
||||||
cmake_options.append('-Dwith-openmp=ON')
|
args.append('-Dwith-openmp=ON')
|
||||||
else:
|
else:
|
||||||
cmake_options.append('-Dwith-openmp=OFF')
|
args.append('-Dwith-openmp=OFF')
|
||||||
|
|
||||||
if '+shared' in self.spec:
|
if '+shared' in self.spec:
|
||||||
cmake_options.append('-Dstatic-libraries=OFF')
|
args.append('-Dstatic-libraries=OFF')
|
||||||
else:
|
else:
|
||||||
cmake_options.append('-Dstatic-libraries=ON')
|
args.append('-Dstatic-libraries=ON')
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user