variorum: needs jansson (#28754)
This commit is contained in:
parent
5208fcf1ea
commit
48b2cf54cf
@ -39,6 +39,7 @@ class Variorum(CMakePackage):
|
||||
########################
|
||||
depends_on("cmake@2.8:", type="build")
|
||||
depends_on("hwloc")
|
||||
depends_on("jansson", type="link")
|
||||
|
||||
#########################
|
||||
# Documentation related #
|
||||
@ -51,6 +52,8 @@ def cmake_args(self):
|
||||
spec = self.spec
|
||||
cmake_args = []
|
||||
|
||||
cmake_args.append('-DJANSSON_DIR={0}'.format(spec['jansson'].prefix))
|
||||
|
||||
if "+shared" in spec:
|
||||
cmake_args.append("-DBUILD_SHARED_LIBS=ON")
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user