-
Notifications
You must be signed in to change notification settings - Fork 84
feat(build): allow system-installed dependencies #340
Copy link
Copy link
Open
Labels
buildBuilding clice from sourceBuilding clice from sourcekind:feature-requestNew feature or improvement requestNew feature or improvement requestpackagingPrebuilt binaries, releases and distributionPrebuilt binaries, releases and distributiontoolchain:cmakeProject built with CMakeProject built with CMaketriagedProcessed by triage — excluded from future triage runsProcessed by triage — excluded from future triage runs
Description
Activity
Metadata
Metadata
Assignees
Labels
buildBuilding clice from sourceBuilding clice from sourcekind:feature-requestNew feature or improvement requestNew feature or improvement requestpackagingPrebuilt binaries, releases and distributionPrebuilt binaries, releases and distributiontoolchain:cmakeProject built with CMakeProject built with CMaketriagedProcessed by triage — excluded from future triage runsProcessed by triage — excluded from future triage runs
Is your feature request related to a problem? Please describe.
Currently,
cmake/package.cmakedirectly callsFetchContent_DeclareandFetchContent_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