prepend missing self. to spec (#23172)

This commit is contained in:
Frank Willmore 2021-04-22 11:40:17 -05:00 committed by GitHub
parent 46088aa5da
commit 60c909cee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ def cmake_args(self):
args.append("-DMPI=OFF")
args.append('-DKVTREE_FILE_LOCK={0}'.format(
spec.variants['file_lock'].value.upper()))
self.spec.variants['file_lock'].value.upper()))
if self.spec.satisfies('platform=cray'):
args.append("-DKVTREE_LINK_STATIC=ON")