File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed
Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
1616include (FindPackageHandleStandardArgs)
1717find_package (fmt REQUIRED)
1818find_package (ROOT REQUIRED)
19- find_package (Delphes REQUIRED)
2019find_package (FairLogger REQUIRED)
2120find_package (FairRoot REQUIRED)
2221find_package (AliceO2 REQUIRED)
22+ find_package (Delphes REQUIRED)
2323
2424include ("${ROOT_DIR} /RootMacros.cmake" )
2525
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ find_path(Delphes_INCLUDE_DIR
99 PATH_SUFFIXES "include" )
1010
1111find_library (Delphes_LIBRARY
12- NAMES libDelphes.so
12+ NAMES libDelphes.so libDelphes.dylib
1313 HINTS ${DELPHES_ROOT} /lib
1414 ENV LD_LIBRARY_PATH)
1515
@@ -31,6 +31,5 @@ if(${Delphes_FOUND})
3131 INTERFACE_LINK_LIBRARIES "${Delphes_LIBRARIES} "
3232 )
3333 endif ()
34-
35- endif ()
3634
35+ endif ()
Original file line number Diff line number Diff line change @@ -16,10 +16,9 @@ find_path(HepMC_INCLUDE_DIR
1616set (HepMC_INCLUDE_DIR ${HepMC_INCLUDE_DIR} /..)
1717
1818find_library (HepMC_LIBRARIES
19- NAMES libHepMC.so libHepMCfio.
19+ NAMES libHepMC.so libHepMCfio.so libHepMC.dylib libHepMCfio.dylib
2020 PATHS $ENV{HEPMC_ROOT} /lib)
2121
2222find_package_handle_standard_args(HepMC
2323 REQUIRED_VARS HepMC_INCLUDE_DIR HepMC_LIBRARIES
2424 FAIL_MESSAGE "HepMC could not be found" )
25-
Original file line number Diff line number Diff line change @@ -14,12 +14,11 @@ find_path(Pythia_INCLUDE_DIR
1414 PATHS $ENV{PYTHIA_ROOT} /include )
1515
1616set (Pythia_INCLUDE_DIR ${Pythia_INCLUDE_DIR} /..)
17-
17+
1818find_library (Pythia_LIBRARIES
1919 NAMES libpythia8.so libpythia8.dylib
2020 PATHS $ENV{PYTHIA_ROOT} /lib)
2121
2222find_package_handle_standard_args(Pythia
2323 REQUIRED_VARS Pythia_INCLUDE_DIR Pythia_LIBRARIES
2424 FAIL_MESSAGE "Pythia could not be found" )
25-
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ root_generate_dictionary(G__DelphesO2 ${HEADERS} LINKDEF DelphesO2LinkDef.h)
4646target_link_libraries (DelphesO2
4747 Delphes::Core
4848 ROOT::MathCore
49+ ROOT::RIO
50+ ROOT::EG
4951 AliceO2::DetectorsVertexing
5052 AliceO2::ReconstructionDataFormats
5153 AliceO2::GPUCommon
You can’t perform that action at this time.
0 commit comments