Fork me on GitHub

Opened 8 years ago

Closed 8 years ago

#1029 closed Bug (fixed)

Broken installation using cmake

Reported by: Marcel Owned by: Pavel Demin <pavel.demin@…>
Priority: major Milestone:
Component: Delphes miscellaneous Version: Delphes 3
Keywords: installation, cmake Cc:

Description

Hi,

when using cmake to install Delphes, some include directories are not properly installed, e.g. the "modules" directory. In fact, the only directories being installed are "classes" and "ExRootAnalysis". Thus, examples as in [1] won't work.

[1]: https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/LibraryInterface

Change History (2)

comment:1 by Pavel Demin, 8 years ago

Thanks for spotting this problem.

Looks like it can be easily solved by adding the following two lines to modules/CMakeLists.txt:

# install public headers
install(FILES Delphes.h DESTINATION include/modules)

comment:2 by Pavel Demin <pavel.demin@…>, 8 years ago

Owner: set to Pavel Demin <pavel.demin@…>
Resolution: fixed
Status: newclosed

In 255a666840af7b9990841fc6c1d911dbfca064fc/git:

add command installing Delphes.h to modules/CMakeLists.txt (close #1029)

Note: See TracTickets for help on using tickets.