File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,17 +106,14 @@ IF(TARGET ROOT::ROOTDataFrame)
106106endif ()
107107
108108
109- find_package (HepMC3 )
109+ find_package (HepMC3 3.2.6 )
110110find_package (HepPDT )
111111
112- if (HepMC3_FOUND AND HepPDT_FOUND )
112+ if (HepMC3_FOUND AND HepPDT_FOUND)
113113 add_executable (edm4hep_testhepmc hepmc/edm4hep_testhepmc.cc )
114- target_include_directories (edm4hep_testhepmc PUBLIC ${HEPMC3_INCLUDE_DIR} ${ HEPPDT_INCLUDE_DIR} )
115- target_link_libraries (edm4hep_testhepmc edm4hep podio::podioRootIO ${HEPPDT_LIBRARIES} ${HEPMC3_LIBRARIES} )
114+ target_include_directories (edm4hep_testhepmc PUBLIC ${HEPPDT_INCLUDE_DIR} )
115+ target_link_libraries (edm4hep_testhepmc edm4hep podio::podioRootIO ${HEPPDT_LIBRARIES} HepMC3::HepMC3 )
116116 add_edm4hep_test (edm4hep_testhepmc COMMAND edm4hep_testhepmc )
117- set_property (TEST edm4hep_testhepmc APPEND PROPERTY ENVIRONMENT
118- ROOT_INCLUDE_PATH=${HEPMC3_INCLUDE_DIR} :$ENV{ROOT_INCLUDE_PATH}
119- )
120117endif ()
121118
122119add_edm4hep_test (py_test_module COMMAND python ${CMAKE_CURRENT_LIST_DIR } /test_module.py )
You can’t perform that action at this time.
0 commit comments