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

Change ${LCIO_LIBRARIES} to LCIO::lcio #44

Merged
merged 3 commits into from
Jan 16, 2024
Merged

Change ${LCIO_LIBRARIES} to LCIO::lcio #44

merged 3 commits into from
Jan 16, 2024

Conversation

jmcarcell
Copy link
Member

BEGINRELEASENOTES

  • Change ${LCIO_LIBRARIES} to LCIO::lcio
  • Remove unnecessary LCIO_INCLUDE_DIRS

ENDRELEASENOTES

The second one helps building together k4MarlinWrapper and LCIO with add_subdirectory or FetchContent, otherwise LCIO_INCLUDE_DIRS will point to the source code and you can't have paths in the source tree in the target_include_directories call

@tmadlener
Copy link
Contributor

I think we should add the minimum LCIO version for which this works into the find_package(LCIO) call or if we want to keep it working with older versions create the target on the fly for them and populate it with the minimum information that is necessary.

@tmadlener
Copy link
Contributor

Release based nightlies are failing because they don't ship a working lcio version

@tmadlener tmadlener merged commit 2d8393f into main Jan 16, 2024
5 of 7 checks passed
@tmadlener tmadlener deleted the cmake branch January 16, 2024 14:52
jmcarcell added a commit that referenced this pull request Jan 29, 2024
jmcarcell added a commit that referenced this pull request Feb 5, 2024
…p build workflow; previous commit: Change ${LCIO_LIBRARIES} to LCIO::lcio (#44)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants