diff --git a/Generator/CMakeLists.txt b/Generator/CMakeLists.txt index b520323aadb475a575dbdc3b63aae7304cfe441e..49a87c514bc45a28480b32f119c843e5618ba7e2 100644 --- a/Generator/CMakeLists.txt +++ b/Generator/CMakeLists.txt @@ -53,3 +53,8 @@ gaudi_add_module(GenAlgo EDM4HEP::edm4hep EDM4HEP::edm4hepDict ) +install(TARGETS GenAlgo + EXPORT CEPCSWTargets + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT bin + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT shlib + COMPONENT dev) diff --git a/Simulation/DetSimInterface/CMakeLists.txt b/Simulation/DetSimInterface/CMakeLists.txt index ce48e904b3847b1a23820610fb23ac9b44a67a73..19e1a9202fe8e0873271dcc8605bbbe29430323a 100644 --- a/Simulation/DetSimInterface/CMakeLists.txt +++ b/Simulation/DetSimInterface/CMakeLists.txt @@ -10,4 +10,9 @@ gaudi_add_library(DetSimInterface LINK Gaudi::GaudiKernel ) +install(TARGETS DetSimInterface + EXPORT CEPCSWTargets + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT bin + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT shlib + COMPONENT dev)