Skip to content
Snippets Groups Projects
Commit 2d0bef61 authored by Moritz Kiehn's avatar Moritz Kiehn
Browse files

Merge branch 'dd4hep_target' into 'master'

Use DDCore target directly

See merge request !798
parents 7222b682 5c4683a2
No related branches found
No related tags found
1 merge request!798Use DDCore target directly
Pipeline #1508242 passed
......@@ -14,7 +14,13 @@ target_include_directories(
${DD4hep_INCLUDE_DIRS})
target_link_libraries(
ActsDD4hepPlugin
PUBLIC ActsCore ActsTGeoPlugin ${DD4hep_DDCORE_LIBRARY})
PUBLIC ActsCore ActsTGeoPlugin)
if(${DD4hep_VERSION} VERSION_LESS 1.11)
target_link_libraries(ActsDD4hepPlugin PUBLIC ${DD4hep_DDCORE_LIBRARY})
else()
target_link_libraries(ActsDD4hepPlugin PUBLIC DD4hep::DDCore)
endif()
install(
TARGETS ActsDD4hepPlugin
......
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