recola: fix compilation (#26634)
* recola: fix compilation * Update var/spack/repos/builtin/packages/recola-sm/package.py Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov> * flake8 * fixes * fix typo * fix typo Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>
This commit is contained in:
parent
4f124bc9e7
commit
9fa20b8a39
@ -22,5 +22,6 @@ class RecolaSm(CMakePackage):
|
||||
depends_on('collier')
|
||||
|
||||
def cmake_args(self):
|
||||
args = ['-Dstatic=ON']
|
||||
args = [self.define('static', True),
|
||||
self.define('collier_path', self.spec['collier'].prefix.lib.cmake)]
|
||||
return args
|
||||
|
@ -31,7 +31,9 @@ class Recola(CMakePackage):
|
||||
|
||||
def cmake_args(self):
|
||||
args = [
|
||||
'-DCMAKE_VERBOSE_MAKEFILE=ON',
|
||||
self.define('static', True),
|
||||
self.define('collier_path', self.spec['collier'].prefix.lib.cmake),
|
||||
self.define('modelfile_path', self.spec['recola-sm'].prefix.lib.cmake),
|
||||
self.define_from_variant("with_python3", 'python'),
|
||||
]
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user