Skip to content

FAQ: Why we do not support system-installed dependencies (Packaging Policy) #340

@dragon-archer

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions