From 6d9537a6ef6fd637a71b6dfdf871dc281e124f64 Mon Sep 17 00:00:00 2001 From: Mateusz Jakub Fila Date: Thu, 19 Dec 2024 10:55:26 +0100 Subject: [PATCH] install old schemas libraries --- 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)