From aaacb5ef19fc1d7ed6e5a58853e354ea2b15d8df Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Wed, 25 Sep 2024 17:39:54 +0200
Subject: [PATCH] podio: enable RNTUPLE and DATASOURCE support

---
 frameworks/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/frameworks/CMakeLists.txt b/frameworks/CMakeLists.txt
index d4237804ed..d0d7269d53 100644
--- a/frameworks/CMakeLists.txt
+++ b/frameworks/CMakeLists.txt
@@ -61,6 +61,10 @@ LCGPackage_add(
                IF podio_native_version VERSION_GREATER 00.12 AND SIO_native_version THEN
                -DENABLE_SIO=ON
                ENDIF
+               IF <VERSION> VERSION_GREATER 1.0 THEN
+               -DENABLE_RNTUPLE=ON
+               -DENABLE_DATASOURCE=ON
+               ENDIF
     DEPENDS ROOT Python PyYAML
     IF podio_native_version VERSION_GREATER 1.0 THEN
        tabulate graphviz
@@ -68,6 +72,7 @@ LCGPackage_add(
     IF podio_native_version VERSION_GREATER 00.12 THEN
     DEPENDS_OPT SIO
     ENDIF
+    REVISION 1
 )
 
 #---EDM4hep---------------------------------------------------------------------
-- 
GitLab