Changeset 3283d6e in git
- Timestamp:
- Feb 5, 2018, 11:57:09 AM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 0a88f17
- Parents:
- 8b8a46c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r8b8a46c r3283d6e 41 41 42 42 # WJF: Declare Pythia8 dependancy 43 #include_directories($ENV{PYTHIA_INCLUDE_DIR}) 44 find_package(Pythia8) 45 include_directories(${PYTHIA8_INCLUDE_DIRS}) 46 set(LIBS ${LIBS} ${PYTHIA8_LIBRARIES}) 43 if(PYTHIA8_FOUND) 44 find_package(Pythia8) 45 include_directories(${PYTHIA8_INCLUDE_DIRS}) 46 set(LIBS ${LIBS} ${PYTHIA8_LIBRARIES}) 47 endif(PYTHIA8_FOUND) 47 48 48 # WJF test49 49 50 50 if(NOT DEFINED CMAKE_INSTALL_LIBDIR) … … 73 73 add_subdirectory(readers) 74 74 add_subdirectory(cards) 75 add_subdirectory(analysis) # WJF: add for my analysis code 75 76 76 77 add_library(Delphes SHARED … … 97 98 target_link_Libraries(Delphes ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES}) 98 99 target_link_Libraries(DelphesDisplay ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES}) 99 target_link_libraries(Delphes ${LIBS}) 100 if(PYTHIA8_FOUND) 101 target_link_libraries(Delphes ${LIBS}) #WJF: add (needed for DelphesPythia8) 102 endif(PYTHIA8_FOUND) 100 103 101 104 -
cmake/Modules/FindPythia8.cmake
r8b8a46c r3283d6e 10 10 11 11 set(_pythia8dirs 12 ${PYTHIA8} 13 $ENV{PYTHIA8} 12 14 ${PYTHIA8_DIR} 13 15 $ENV{PYTHIA8_DIR} -
readers/CMakeLists.txt
r8b8a46c r3283d6e 9 9 list(REMOVE_ITEM executables DelphesCMSFWLite.cpp) 10 10 list(REMOVE_ITEM executables DelphesProMC.cpp) 11 #list(REMOVE_ITEM executables DelphesPythia8.cpp) 11 if(NOT PYTHIA8_FOUND) 12 list(REMOVE_ITEM executables DelphesPythia8.cpp) 13 endif() 12 14 13 15 # build all executables and put them into bin/
Note:
See TracChangeset
for help on using the changeset viewer.