diff --git a/src/examples/PodioExample/CMakeLists.txt b/src/examples/PodioExample/CMakeLists.txt index 244144747..6bbe3e07b 100644 --- a/src/examples/PodioExample/CMakeLists.txt +++ b/src/examples/PodioExample/CMakeLists.txt @@ -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)