Skip to content

[cmake] Diagnose missing header (and include path) for externally built libraries. #9736

Description

@vgvassilev

ROOT has several externally built packages which end up in the dictionaries, such as Vc.

Currently, if the Vc is externally built, the MathCore dictionary needs to know its include location at rootcling-time but also when running ROOT (ROOT's runtime). If the person uses that approach does not pass this information, this leads to very subtle crash in modules and it takes time to setup a debug build and diagnose.

Instead, the dictionary which has an include to an externally built library (in ROOT_GENERATE_DICTIONARY) should be able to check if this include path is also passed in ROOT for its runtime. Otherwise, issue a diagnostic.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions