diff --git a/Generator/CMakeLists.txt b/Generator/CMakeLists.txt index effac5cee8e0db181e3a7e10085188e4c1363b0b..eb780748226305dfd74366384d7b19f454b345e5 100644 --- a/Generator/CMakeLists.txt +++ b/Generator/CMakeLists.txt @@ -11,22 +11,6 @@ find_package(HepMC) find_package(CLHEP REQUIRED;CONFIG) find_package(k4FWCore REQUIRED) -if(ROOT_FOUND) - message("found ROOT: ${ROOT_INCLUDE_DIRS} ${ROOT_LIBRARIES}") -endif(ROOT_FOUND) -if(LCIO_FOUND) - message("found LCIO: ${LCIO_INCLUDE_DIRS} ${LCIO_LIBRARIES}") -endif(LCIO_FOUND) -if(podio_FOUND) - message("found podio: ${podio_INCLUDE_DIRS} ${podio_LIBRARIES}") -endif(podio_FOUND) -if(HepMC_FOUND) - message("found HepMC: ${HepMC_INCLUDE_DIRS} ${HepMC_LIBRARY_DIR}") -endif(HepMC_FOUND) -if(CLHEP_FOUND) - message("found CLHEP: ${CLHEP_INCLUDE_DIRS} ${CLHEP_LIBRARY_DIR}") -endif(CLHEP_FOUND) - gaudi_add_module(GenAlgo SOURCES src/IGenTool.cpp src/GenAlgo.cpp @@ -47,8 +31,8 @@ gaudi_add_module(GenAlgo ${HEPMC_LIBRARIES} ${CLHEP_LIBRARIES} ${LCIO_LIBRARIES} - EDM4HEP::edm4hep EDM4HEP::edm4hepDict - ) + EDM4HEP::edm4hep EDM4HEP::edm4hepDict +) install(TARGETS GenAlgo EXPORT CEPCSWTargets diff --git a/Simulation/DetSimDedx/CMakeLists.txt b/Simulation/DetSimDedx/CMakeLists.txt index d421d9472faa8282c0d290a874e52ebf00e00e9e..7760d417073157b41d08ce66caadb1ce9f7a3307 100644 --- a/Simulation/DetSimDedx/CMakeLists.txt +++ b/Simulation/DetSimDedx/CMakeLists.txt @@ -5,9 +5,6 @@ find_package(DD4hep COMPONENTS DDG4 REQUIRED) find_package(EDM4HEP REQUIRED ) include_directories(${EDM4HEP_INCLUDE_DIR}) -set(DetSimDedx_srcs -) - gaudi_add_module(DetSimDedx SOURCES src/DummyDedxSimTool.cpp src/BetheBlochEquationDedxSimTool.cpp