Skip to content

Commit

Permalink
fccanalyses: add catch2 test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Sep 11, 2023
1 parent f8d3041 commit b34ec1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/fccanalyses/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class Fccanalyses(CMakePackage, Key4hepPackage):
depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-onnxruntime", when="+onnx")
depends_on("[email protected]:", when="@0.7.0:")
depends_on("catch2@3:", type=("test"), when="@0.4:")

def cmake_args(self):
args = [
Expand All @@ -85,6 +86,7 @@ def cmake_args(self):
self.define_from_variant("WITH_ACTS", "acts"),
self.define_from_variant("WITH_DD4HEP", "dd4hep"),
self.define_from_variant("WITH_ONNX", "onnx"),
self.define("BUILD_TESTING", self.run_tests),
]
return args

Expand Down

0 comments on commit b34ec1b

Please sign in to comment.