Changes in / [90187bd:73bc3ca] in git
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r90187bd r73bc3ca 26 26 ENDIF(SET_RPATH) 27 27 28 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")29 30 28 # Declare ROOT dependency 31 29 find_package(ROOT COMPONENTS EG Eve Geom Gui GuiHtml GenVector Hist Physics Matrix Graf RIO Tree Gpad RGL MathCore) 32 30 include(${ROOT_USE_FILE}) 33 34 35 # Declare Pythia8 dependancy36 find_package(Pythia8)37 if(PYTHIA8_FOUND)38 message(STATUS "Pythia8 found")39 include_directories(${PYTHIA8_INCLUDE_DIRS})40 set(LIBS ${LIBS} ${PYTHIA8_LIBRARIES})41 endif(PYTHIA8_FOUND)42 43 31 44 32 if(NOT DEFINED CMAKE_INSTALL_LIBDIR) … … 53 41 endif() 54 42 endfunction() 55 56 57 43 58 44 # Declare position of all other externals needed … … 91 77 target_link_Libraries(Delphes ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES}) 92 78 target_link_Libraries(DelphesDisplay ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES}) 93 if(PYTHIA8_FOUND)94 target_link_libraries(Delphes ${LIBS}) # needed for DelphesPythia895 endif(PYTHIA8_FOUND)96 97 79 98 80 install(TARGETS Delphes DelphesDisplay DESTINATION lib) -
readers/CMakeLists.txt
r90187bd r73bc3ca 9 9 list(REMOVE_ITEM executables DelphesCMSFWLite.cpp) 10 10 list(REMOVE_ITEM executables DelphesProMC.cpp) 11 if(NOT PYTHIA8_FOUND) 12 list(REMOVE_ITEM executables DelphesPythia8.cpp) 13 endif() 11 list(REMOVE_ITEM executables DelphesPythia8.cpp) 14 12 15 13 # build all executables and put them into bin/
Note:
See TracChangeset
for help on using the changeset viewer.