Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
f3304b47
Commit
f3304b47
authored
8 months ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
CMake: allow finding newer versions of podio
parent
2866762a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+7
-1
7 additions, 1 deletion
CMakeLists.txt
with
7 additions
and
1 deletion
CMakeLists.txt
+
7
−
1
View file @
f3304b47
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment