Skip to content

Commit

Permalink
epic: provide version (#669)
Browse files Browse the repository at this point in the history
Should fix `$DETECTOR_VERSION`.

https://github.com/eic/epic/blob/main/cmake/git_version.cmake

Similar to #638
  • Loading branch information
veprbl authored Sep 27, 2024
1 parent 1d653ca commit 43580be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/epic/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ class Epic(CMakePackage):
sha256="f683ed9e26b303ea428dc513d6e841efeeaa584cec44121f6a28116693d13065",
)

def cmake_flags(self):
return [f"-DVERSION={self.version}"]

# dd4hep::CartesianField renamed type to field_type
patch(
"https://github.com/eic/epic/pull/449.patch?full_index=1",
Expand Down

0 comments on commit 43580be

Please sign in to comment.