Fork me on GitHub

Changes in CMakeLists.txt [4ed4118:9c2ce8b] in git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r4ed4118 r9c2ce8b  
    2626ENDIF(SET_RPATH)
    2727   
    28 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
    29 
    3028# Declare ROOT dependency
    3129find_package(ROOT COMPONENTS EG Eve Geom Gui GuiHtml GenVector Hist Physics Matrix Graf RIO Tree Gpad RGL MathCore)
    3230include(${ROOT_USE_FILE})
    33 
    34 
    35 # Declare Pythia8 dependancy
    36 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 
    4331
    4432if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
     
    5341  endif()
    5442endfunction()
    55 
    56 
    5743
    5844# Declare position of all other externals needed
     
    9177target_link_Libraries(Delphes ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES})
    9278target_link_Libraries(DelphesDisplay ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES})
    93 if(PYTHIA8_FOUND)
    94   target_link_libraries(Delphes ${LIBS}) # needed for DelphesPythia8
    95 endif(PYTHIA8_FOUND)
    96 
    9779
    9880install(TARGETS Delphes DelphesDisplay DESTINATION lib)
Note: See TracChangeset for help on using the changeset viewer.