Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/CMakeLists.txt

    r0feae05 rf08ddc6  
    99list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ClassesLinkDef.h)
    1010
    11 # the macro invocation for ROOT6 ensures that the headers are relocatable
    12 if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0")
    13   DELPHES_GENERATE_DICTIONARY(ClassesDict
    14     classes/DelphesModule.h
    15     classes/DelphesFactory.h
    16     classes/SortableObject.h
    17     classes/DelphesClasses.h
    18     LINKDEF ClassesLinkDef.h
    19   )
    20 else()
    21   # for ROOT5 the above fails, keep the following as workaround
    22   DELPHES_GENERATE_DICTIONARY(ClassesDict
     11DELPHES_GENERATE_DICTIONARY(ClassesDict
    2312  ${CMAKE_CURRENT_SOURCE_DIR}/DelphesModule.h
    2413  ${CMAKE_CURRENT_SOURCE_DIR}/DelphesFactory.h
    2514  ${CMAKE_CURRENT_SOURCE_DIR}/SortableObject.h
    2615  ${CMAKE_CURRENT_SOURCE_DIR}/DelphesClasses.h
    27     LINKDEF ClassesLinkDef.h
    28   )
    29 endif()
     16  LINKDEF ClassesLinkDef.h
     17)
    3018
    3119add_library(classes OBJECT ${sources} ClassesDict.cxx)
Note: See TracChangeset for help on using the changeset viewer.