From d7a209fd6498d983008346d30e13567564827db9 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Fri, 13 Sep 2024 20:22:57 +0200 Subject: [PATCH] Inject the EDM4hep version into podio internals (#362) --- edm4hep/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/edm4hep/CMakeLists.txt b/edm4hep/CMakeLists.txt index 6102985d1..8c2d6b5a4 100644 --- a/edm4hep/CMakeLists.txt +++ b/edm4hep/CMakeLists.txt @@ -4,7 +4,9 @@ set(extra_code extra_code/CovMatrixCommon.ipp) # For now unconditionally generate all the code that is supported by the # installed podio PODIO_GENERATE_DATAMODEL(edm4hep ../edm4hep.yaml headers sources - IO_BACKEND_HANDLERS ${PODIO_IO_HANDLERS} DEPENDS ${extra_code} + IO_BACKEND_HANDLERS ${PODIO_IO_HANDLERS} + DEPENDS ${extra_code} + VERSION ${${PROJECT_NAME}_VERSION} ) PODIO_ADD_DATAMODEL_CORE_LIB(edm4hep "${headers}" "${sources}")