From 327ba0f1a1e74912a8e23ccbb427dad16fea3b43 Mon Sep 17 00:00:00 2001 From: Mateusz Jakub Fila <37295697+m-fila@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:21:49 +0100 Subject: [PATCH] install old schemas libraries (#391) --- edm4hep/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/edm4hep/CMakeLists.txt b/edm4hep/CMakeLists.txt index a74468e8..a0ffa3b0 100644 --- a/edm4hep/CMakeLists.txt +++ b/edm4hep/CMakeLists.txt @@ -32,10 +32,12 @@ target_include_directories(edm4hepOldSchemas PRIVATE $ ) target_link_libraries(edm4hepOldSchemas PUBLIC podio::podio EDM4HEP::edm4hep) +add_library(EDM4HEP::oldSchemas ALIAS edm4hepOldSchemas) PODIO_ADD_ROOT_IO_DICT(edm4hepOldSchemasDict edm4hepOldSchemas ${PROJECT_SOURCE_DIR}/edm4hep/schema_evolution/include/edm4hep/schema_evolution/OldLinkData.h schema_evolution/src/selection.xml) +add_library(EDM4HEP::oldSchemasDict ALIAS edm4hepOldSchemasDict) -list(APPEND EDM4HEP_INSTALL_LIBS edm4hep edm4hepDict) +list(APPEND EDM4HEP_INSTALL_LIBS edm4hep edm4hepDict edm4hepOldSchemas edm4hepOldSchemasDict) PODIO_ADD_SIO_IO_BLOCKS(edm4hep "${headers}" "${sources}") IF(TARGET edm4hepSioBlocks)