From d8a9e521ac2bfe0395f778a75c42f22755acd50a Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 25 Jun 2024 15:01:36 +0200 Subject: [PATCH] Add a lower bound for podio --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0b68b67..93011ef9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,9 @@ project(k4FWCore) find_package(ROOT COMPONENTS RIO Tree REQUIRED) find_package(Gaudi REQUIRED) find_package(podio REQUIRED) +if (NOT podio_VERSION VERSION_GREATER_EQUAL 0.16.3) + message(FATAL "Need at least podio v0.16.3) +endif() find_package(EDM4HEP REQUIRED) include(GNUInstallDirs)