Skip to content
Snippets Groups Projects
Commit f3304b47 authored by Andre Sailer's avatar Andre Sailer
Browse files

CMake: allow finding newer versions of podio

parent 2866762a
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,13 @@ endif()
if(DD4HEP_USE_EDM4HEP)
find_package(EDM4HEP REQUIRED)
find_package(podio REQUIRED)
# we need podio with Frame support (>=0.16.3)
# podio is "SameMajorVersion" compatible
find_package(podio 0.16.3) # this will not find 1.0 and newer
if(NOT podio_FOUND)
# we try to find a newer version now
find_package(podio 1.0 REQUIRED)
endif()
# DD4HEP_SETUP_EDM4HEP_TARGETS()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment