Skip to content

Update CMakeLists.txt to allow out of the box build in AnalysisBase and AthAnalysis.

The existing RooUnfold CMakeLists file has a problem installing the headers when building the package via ATLAS-CMake within an analysis release. The problem is that atlas_add_library attempts to install them by linking <SourceDir>/RooUnfold/RooUnfold into the include folder of the installation area, however for this package there is no such directory, given that headers are shipped in src.

This MR works around the issue by creating a RooUnfold subfolder containing links to the headers in src at configuration stage, ensuring that the headers are made available to clients in the intended way.

In addition, the MR fixes a typo in the AnalysisBase lookup and expands this by also accepting AthAnalysis environments.

Merge request reports