Fork me on GitHub

Ticket #1003: fix_PUPPI_CMakeLists.patch

File fix_PUPPI_CMakeLists.patch, 1.3 KB (added by Dan Ciubotaru, 8 years ago)
  • CMakeLists.txt

    From d922763a0f582f90683386655272e5c45f83b1da Mon Sep 17 00:00:00 2001
    From: Dan Ciubotaru <dan.andrei.ciubotaru@cern.ch>
    Date: Tue, 9 Aug 2016 11:45:45 +0300
    Subject: [PATCH] Add PUPPI to CMakeLists.txt
    
    ---
     CMakeLists.txt                | 1 +
     external/CMakeLists.txt       | 1 +
     external/PUPPI/CMakeLists.txt | 5 +++++
     3 files changed, 7 insertions(+)
     create mode 100644 external/PUPPI/CMakeLists.txt
    
    diff --git a/CMakeLists.txt b/CMakeLists.txt
    index 8834dd9..5429d0f 100644
    a b add_library(Delphes SHARED  
    4040  $<TARGET_OBJECTS:fastjet>
    4141  $<TARGET_OBJECTS:tcl>
    4242  $<TARGET_OBJECTS:Hector>
     43  $<TARGET_OBJECTS:PUPPI>
    4344)
    4445
    4546target_link_Libraries(Delphes ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES})
  • external/CMakeLists.txt

    diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
    index 2679786..df34d20 100644
    a b add_subdirectory(fastjet)  
    22add_subdirectory(ExRootAnalysis)
    33add_subdirectory(Hector)
    44add_subdirectory(tcl)
     5add_subdirectory(PUPPI)
  • new file external/PUPPI/CMakeLists.txt

    diff --git a/external/PUPPI/CMakeLists.txt b/external/PUPPI/CMakeLists.txt
    new file mode 100644
    index 0000000..beb4ede
    - +  
     1include_directories(${CMAKE_SOURCE_DIR}/external)
     2
     3file(GLOB sources *.cc)
     4
     5add_library(PUPPI OBJECT ${sources})