Closed ChristianTackeGSI closed 4 years ago
@ChristianTackeGSI , Thank you for this fix. There is already a related issue https://github.com/vmc-project/geant4_vmc/issues/13 where several solutions are proposed. You are welcome to contribute here with your opinion.
Thanks for the invitation! I will read up on that discussion and see, if I can contribute something useful.
The quick note: The proposed patch in this PR should not break anything (that wasn't already broekn). So it shouldn't hurt.
Added changes, as discussed in https://github.com/vmc-project/geant4_vmc/issues/13
(I am working in the SDE group at GSI with @MohammadAlTurany and I am currently improving our packaging of vmc.)
According to these root release notes the listed headers in
ROOT_GENERATE_DICTIONARY
should use relative paths.Before this change, the headers are loaded from the source/build tree. If the source/build tree is removed after installation, the headers are not found any more.
With this change, the headers in the install tree are found by the interpreter, when
ROOT_INCLUDE_PATH
is set.