Skip to content

Commit

Permalink
Link PodioExample against jana2_static_lib
Browse files Browse the repository at this point in the history
Because the `jana2` object library alone doesn't contain the `VendoredMD5` symbols.
  • Loading branch information
nathanwbrei committed Dec 8, 2024
1 parent 61be758 commit ea13765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/PodioExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (USE_PODIO)

add_executable(PodioExample ${PodioExample_SOURCES})
target_link_libraries(PodioExample
PUBLIC jana2 PodioDatamodel PodioDatamodelDict podio::podioRootIO)
PUBLIC jana2_static_lib PodioDatamodel PodioDatamodelDict podio::podioRootIO)

set_target_properties(PodioExample PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)

Expand Down

0 comments on commit ea13765

Please sign in to comment.