Fork me on GitHub

Changeset b315535 in git


Ignore:
Timestamp:
May 18, 2018, 8:59:26 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
fe2cdc9
Parents:
90187bd
Message:

remove LIBS and add CMAKE_DL_LIBS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r90187bd rb315535  
    3232include(${ROOT_USE_FILE})
    3333
    34 
    3534# Declare Pythia8 dependancy
    3635find_package(Pythia8)
    3736if(PYTHIA8_FOUND)
    38   message(STATUS "Pythia8 found")
    3937  include_directories(${PYTHIA8_INCLUDE_DIRS})
    40   set(LIBS ${LIBS} ${PYTHIA8_LIBRARIES})
    4138endif(PYTHIA8_FOUND)
    42 
    4339
    4440if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
     
    9288target_link_Libraries(DelphesDisplay ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES})
    9389if(PYTHIA8_FOUND)
    94   target_link_libraries(Delphes ${LIBS}) # needed for DelphesPythia8
     90  target_link_libraries(Delphes ${PYTHIA8_LIBRARIES} ${CMAKE_DL_LIBS})
    9591endif(PYTHIA8_FOUND)
    9692
Note: See TracChangeset for help on using the changeset viewer.