From ea13765deaf8b6dd71c9e67a4d805562861f9cb9 Mon Sep 17 00:00:00 2001 From: Nathan Brei Date: Sun, 8 Dec 2024 00:07:33 -0500 Subject: [PATCH] Link PodioExample against jana2_static_lib Because the `jana2` object library alone doesn't contain the `VendoredMD5` symbols. --- src/examples/PodioExample/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)