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

Make libSBML well consumable via FetchContent #408

Open
starboerg opened this issue Oct 9, 2024 · 0 comments
Open

Make libSBML well consumable via FetchContent #408

starboerg opened this issue Oct 9, 2024 · 0 comments

Comments

@starboerg
Copy link

Adding a missing (sbml) library via cmake's FetchContent is a convenient choice, in particular since cmake v3.24 .

In that case, some targets should be hidden (e.g. uninstall, tests, examples and so on ).
Unnecessary targets should be dropped if PROJECT_SOURCE_DIR and CMAKE_SOURCE_DIR are not identical.

For more details see e.g. FetchContent Tutorial.
This could safe us from patch-renaming conflicting targets and creating the SBML::SBML target ALIAS.

Thanks, the Morpheus team.

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

No branches or pull requests

1 participant