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
083ba1d5
Commit
083ba1d5
authored
1 month ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
ReadEDM4hep: only when we have podioIO target (podio > 1.0)
parent
6e580c3b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/CMakeLists.txt
+10
-3
10 additions, 3 deletions
DDG4/CMakeLists.txt
with
10 additions
and
3 deletions
DDG4/CMakeLists.txt
+
10
−
3
View file @
083ba1d5
...
@@ -104,12 +104,19 @@ ENDIF()
...
@@ -104,12 +104,19 @@ ENDIF()
IF
(
TARGET EDM4HEP::edm4hep
)
IF
(
TARGET EDM4HEP::edm4hep
)
dd4hep_add_plugin
(
DDG4EDM4HEP
dd4hep_add_plugin
(
DDG4EDM4HEP
SOURCES edm4hep/
*
.cpp
SOURCES edm4hep/
Geant4Output2EDM4hep
.cpp
USES DD4hep::DDG4 EDM4HEP::edm4hep EDM4HEP::edm4hepDict podio::podio podio::podioDict podio::podioRootIO
podio::podioIO
USES DD4hep::DDG4 EDM4HEP::edm4hep EDM4HEP::edm4hepDict podio::podio podio::podioDict podio::podioRootIO
)
)
install
(
TARGETS DDG4EDM4HEP EXPORT DD4hep LIBRARY DESTINATION lib
)
install
(
TARGETS DDG4EDM4HEP EXPORT DD4hep LIBRARY DESTINATION lib
)
set_target_properties
(
DDG4EDM4HEP PROPERTIES VERSION
${
DD4hep_VERSION
}
SOVERSION
${
DD4hep_SOVERSION
}
)
set_target_properties
(
DDG4EDM4HEP PROPERTIES VERSION
${
DD4hep_VERSION
}
SOVERSION
${
DD4hep_SOVERSION
}
)
if
(
TARGET
(
podio::podioIO
))
dd4hep_add_plugin
(
DDG4EDM4HEPReader
SOURCES edm4hep/EDM4hepFileReader.cpp
USES DD4hep::DDG4 EDM4HEP::edm4hep EDM4HEP::edm4hepDict podio::podio podio::podioDict podio::podioIO
)
install
(
TARGETS DDG4EDM4HEPReader EXPORT DD4hep LIBRARY DESTINATION lib
)
set_target_properties
(
DDG4EDM4HEPReader PROPERTIES VERSION
${
DD4hep_VERSION
}
SOVERSION
${
DD4hep_SOVERSION
}
)
endif
()
ENDIF
()
ENDIF
()
IF
(
DD4HEP_USE_HEPMC3
)
IF
(
DD4HEP_USE_HEPMC3
)
...
...
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