Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: _acts_dfelibs_version unset in CMakeLists.txt #3457

Open
wdconinc opened this issue Jul 30, 2024 · 5 comments
Open

Bug: _acts_dfelibs_version unset in CMakeLists.txt #3457

wdconinc opened this issue Jul 30, 2024 · 5 comments
Labels

Comments

@wdconinc
Copy link
Contributor

wdconinc commented Jul 30, 2024

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.

@andiwand
Copy link
Contributor

@fredevb @asalzburger is this something we lost in the CMake refactor when getting traccc/detray in as dependencies?

@wdconinc
Copy link
Contributor Author

wdconinc commented Aug 6, 2024

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.

@wdconinc
Copy link
Contributor Author

wdconinc commented Aug 6, 2024

Other location where dfelibs is linked is in

PRIVATE dfelibs)

From what I can tell, that's independent of the csv example.

@wdconinc
Copy link
Contributor Author

wdconinc commented Aug 6, 2024

The instance in the framework example is necessary due to use of dfelibs in the sequence:

#include <dfe/dfe_io_dsv.hpp>
#include <dfe/dfe_namedtuple.hpp>

Copy link

github-actions bot commented Sep 5, 2024

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.

@github-actions github-actions bot added the Stale label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants