babelflow: Add spec (#20544)
This commit is contained in:
parent
cfbe3aa056
commit
b1a6e583c0
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ class Babelflow(CMakePackage):
|
||||||
variant("shared", default=True, description="Build Babelflow as shared libs")
|
variant("shared", default=True, description="Build Babelflow as shared libs")
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
|
spec = self.spec
|
||||||
args = [
|
args = [
|
||||||
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
|
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
|
||||||
'ON' if '+shared' in spec else 'OFF')]
|
'ON' if '+shared' in spec else 'OFF')]
|
||||||
|
|
Loading…
Reference in a new issue