Skip to content

feat(build): allow system-installed dependencies #340

Description

@dragon-archer

Is your feature request related to a problem? Please describe.
Currently, cmake/package.cmake directly calls FetchContent_Declare and FetchContent_MakeAvailable, which forces users to download the dependencies from GitHub and build them from source.

Describe the solution you'd like
Check whether the dependencies are already installed on the system (e.g. using find_package) and use them if present, otherwise fallback to download from GitHub and build them from source.

Describe alternatives you've considered
Provide an option to select whether using system-installed dependencies

Additional context
N/A

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildBuilding clice from sourcekind:feature-requestNew feature or improvement requestpackagingPrebuilt binaries, releases and distributiontoolchain:cmakeProject built with CMaketriagedProcessed by triage — excluded from future triage runs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions