Bug: _acts_dfelibs_version unset in CMakeLists.txt
The CMake variable _acts_dfelibs_version is used in the find_package call but is not set to any value. The minimum version of dfelibs is likely the released version in the ACTS fork of dfelibs, but this released version does not include that same release version in the CMake config, so find_package would not recognize it as such.
Resolving this likely requires two step:
- a new release of acts-project/dfelibs with a corrected CMakeLists.txt,
- requiring that new release as the minimum dfelibs version in the CMakeLists.txt here.
Alternatively a comment in CMakeLists.txt with a statement why no minimum version is defined, but which one effectively applies.
@fredevb @asalzburger is this something we lost in the CMake refactor when getting traccc/detray in as dependencies?
Related to this, the target that is used in e.g. Examples/Io/Csv/CMakeLists.txt is dfelibs, while the target exposed by an external install is dfelibs::dfelibs, in a namespace.
Other location where dfelibs is linked is in https://github.com/acts-project/acts/blob/ca697991df842e13f7897cd3f793038860f822c7/Examples/Framework/CMakeLists.txt#L36
From what I can tell, that's independent of the csv example.
The instance in the framework example is necessary due to use of dfelibs in the sequence: https://github.com/acts-project/acts/blob/ca697991df842e13f7897cd3f793038860f822c7/Examples/Framework/src/Framework/Sequencer.cpp#L53-L54
This issue/PR has been automatically marked as stale because it has not had recent activity. The stale label will be removed if any interaction occurs.