Skip to content

Make libSBML well consumable via FetchContent #408

Open
@starboerg

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions